errorCount
The number of errors that have been recorded after validation of one or more fields.
readonly
get errorCount(): number
Notes
- Errors are only recorded when fields are set or validated explicitly. To force all fields to be validated and this value to contain the number of errors for all fields, use the UIFormContext.validateAll() method.
Related
- class UIFormContextAn object that contains form field data along with validation tests.