Docs (4.0.0)
class UIFormContext property

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