Skip to content

Kirby 4.5.0

$field->errors()

Validates when run for the first time and returns any errors

$field->errors(): array

Return type

array

Parent class

Kirby\Form\Field