Skip to content

Kirby 6.0.0

$optionsField->errors()

Runs all validations and returns an array of error messages

$optionsField->errors(): array

Return type

array

Parent class

Kirby\Form\Field\OptionsField inherited from Kirby\Form\Field\InputField