forms/src/validator.ts
Implements behavior regarding the usage of frontend validation rules.
Methods |
shouldActivate | |||||||||
shouldActivate(control: FormControl, field: Field)
|
|||||||||
Implements behavior for when the frontend validation rules should be used. By default, the frontend validations will be used if the form control is dirty, i.e. has been altered by the user, or if a user has interacted with the form control, marking it as touched, while Blueriq did not have any messages.
Parameters :
Returns :
boolean
|