diff --git a/templates/element/genericElements/Form/Fields/dropdownField.php b/templates/element/genericElements/Form/Fields/dropdownField.php index 84ea7b8..eb4ea14 100644 --- a/templates/element/genericElements/Form/Fields/dropdownField.php +++ b/templates/element/genericElements/Form/Fields/dropdownField.php @@ -1,6 +1,7 @@ $fieldData['options'], + 'empty' => $fieldData['empty'] ?? false, 'class' => ($fieldData['class'] ?? '') . ' formDropdown custom-select' ]; echo $this->FormFieldMassage->prepareFormElement($this->Form, $controlParams, $fieldData);