Skip to content

Kirby 4.4.1

$field->errors()

Validates when run for the first time and returns any errors

$field->errors(): array

Return type

array

Parent class

Kirby\Form\Field