chg: [form] dropdown default key added

cli-modification-summary
iglocska 2022-01-27 21:09:32 +01:00
parent 93d4917953
commit 589f932fe9
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
'value' => $fieldData['value'] ?? null,
'multiple' => $fieldData['multiple'] ?? false,
'disabled' => $fieldData['disabled'] ?? false,
'class' => ($fieldData['class'] ?? '') . ' formDropdown form-select'
'class' => ($fieldData['class'] ?? '') . ' formDropdown form-select',
'default' => ($fieldData['default'] ?? null)
];
echo $this->FormFieldMassage->prepareFormElement($this->Form, $controlParams, $fieldData);