]> _ Git - pmi.git/commitdiff
wip #3025
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Sep 2019 16:28:06 +0000 (18:28 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Sep 2019 16:28:06 +0000 (18:28 +0200)
app/SubForms/HomeProductHighlight.php

index cb10b76326f1c71c064bd65bbedf1d7b9e949f0a..ef9d5c229cf1d393d2ae77cb72fb0b9fe05ddf54 100644 (file)
@@ -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]);
     }
 }