From: Vincent Vanwaelscappel Date: Fri, 7 Jun 2019 11:03:13 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=95835bb9bf29e37098359684809395272abaa85d;p=cubist_cms-back.git #2783 --- diff --git a/src/app/Magic/Fields/SelectFromArray.php b/src/app/Magic/Fields/SelectFromArray.php index 23a9b4a..65b08ad 100644 --- a/src/app/Magic/Fields/SelectFromArray.php +++ b/src/app/Magic/Fields/SelectFromArray.php @@ -13,7 +13,7 @@ class SelectFromArray extends Field public function getDefaultAttributes() { - return array_merge(parent::getDefaultAttributes(), ['options' => [], 'allow_null' => false, 'allow_multiples' => $this->_multiple]); + return array_merge(parent::getDefaultAttributes(), ['options' => [], 'allow_null' => true, 'allow_multiples' => $this->_multiple]); } public function getColumnData()