From cfa0d85eb1746aa0a5dadcfbc6bf95ad3c8b0093 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 11 Sep 2019 18:28:06 +0200 Subject: [PATCH] wip #3025 --- app/SubForms/HomeProductHighlight.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/SubForms/HomeProductHighlight.php b/app/SubForms/HomeProductHighlight.php index cb10b76..ef9d5c2 100644 --- a/app/SubForms/HomeProductHighlight.php +++ b/app/SubForms/HomeProductHighlight.php @@ -23,6 +23,7 @@ class HomeProductHighlight extends SubForm $this->addField(['name' => 'link', 'type' => 'SelectFromModel', 'label' => 'Catégorie', - 'optionsmodel' => 'App\Models\Producttype']); + 'optionsmodel' => 'App\Models\Producttype', + 'allows_null' => true]); } } -- 2.39.5