errors
An object that contains validation errors for fields that have been validated.
readonly
get errors(): Readonly<{ [name in keyof TData]?: Error; }>
Notes
- Errors are only recorded when fields are set or validated explicitly. To force all fields to be validated and this object to contain errors for all fields, use the UIFormContext.validateAll() method.
Related
- class UIFormContextAn object that contains form field data along with validation tests.