File

forms/src/validator.ts

Description

Implements behavior regarding the usage of frontend validation rules.

Index

Methods

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 :
Name Type Optional
control FormControl No
field Field No
Returns : boolean

results matching ""

    No results matching ""