Skip to content

Kirby 6.0.0

$fields->errors()

An array of all found in all fields errors

$fields->errors(): array}>

Return type

array<string, array{label: string, message: array<string, mixed>}>

Parent class

Kirby\Form\Fields