cerebrate/templates/element/genericElements/Form/Fields/dropdownField.php

7 lines
254 B
PHP

<?php
$controlParams = [
'options' => $fieldData['options'],
'class' => ($fieldData['class'] ?? '') . ' formDropdown custom-select'
];
echo $this->FormFieldMassage->prepareFormElement($this->Form, $controlParams, $fieldData);