From: Vincent Vanwaelscappel Date: Wed, 11 Sep 2019 16:28:06 +0000 (+0200) Subject: wip #3025 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cfa0d85eb1746aa0a5dadcfbc6bf95ad3c8b0093;p=pmi.git wip #3025 --- 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]); } }