chg: [genericForm] Allow empty option in selector

pull/67/head
mokaddem 2021-06-30 12:22:22 +02:00
parent 7c269d6089
commit 97dd912da9
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<?php
$controlParams = [
'options' => $fieldData['options'],
'empty' => $fieldData['empty'] ?? false,
'class' => ($fieldData['class'] ?? '') . ' formDropdown custom-select'
];
echo $this->FormFieldMassage->prepareFormElement($this->Form, $controlParams, $fieldData);