Skip to content

4.8.35-beta: Add new methods to FormElement class

Compare
Choose a tag to compare
@butschster butschster released this 23 Feb 00:51
· 2696 commits to development since this release
  • Add new methods to FormElement class
$formElement->required('Please inser First name');

// or

$formElement->addValidationMessage('required', ''Please inser First name');

// or

$formElement->setValidationMessages([
    'required', ''Please inser First name'
    'unique', ''First name exists!'
]);
  • Fix datetimepicker
  • Fix multiselect form input name