chg: [genericForm] Allow empty option in selector
parent
7c269d6089
commit
97dd912da9
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$controlParams = [
|
$controlParams = [
|
||||||
'options' => $fieldData['options'],
|
'options' => $fieldData['options'],
|
||||||
|
'empty' => $fieldData['empty'] ?? false,
|
||||||
'class' => ($fieldData['class'] ?? '') . ' formDropdown custom-select'
|
'class' => ($fieldData['class'] ?? '') . ' formDropdown custom-select'
|
||||||
];
|
];
|
||||||
echo $this->FormFieldMassage->prepareFormElement($this->Form, $controlParams, $fieldData);
|
echo $this->FormFieldMassage->prepareFormElement($this->Form, $controlParams, $fieldData);
|
||||||
|
|
Loading…
Reference in New Issue