Docs (4.0.0)
class UIFormContext property

valid

True if there are currently no recorded errors.

readonly

get valid(): boolean

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