Interface for options provided to an AbstractControl.
API
interface AbstractControlOptions {
validators?: ValidatorFn | ValidatorFn[] | null | undefined;
asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[] | null | undefined;
updateOn?: "change" | "blur" | "submit" | undefined;
}
validators
ValidatorFn | ValidatorFn[] | null | undefinedThe list of validators applied to a control.
asyncValidators
AsyncValidatorFn | AsyncValidatorFn[] | null | undefinedThe list of async validators applied to control.
updateOn
"change" | "blur" | "submit" | undefinedThe event name for control to update upon.