errors
An object that contains validation error messages, if any.
get errors(): Readonly<{
[name in keyof TSchema]?: StringConvertible;
}>;Notes
- This property is updated according to the current validation mode — see FormState.ValidationMode.
- Errors (and values) can be cleared using the clear() method.
Related
class FormState
An object that contains form field data, with validation rules.
