AbstractControlOptions
From Get docs
< @angular/formsAngular/docs/latest/api/forms/abstractcontroloptions
AbstractControlOptions
interface
Interface for options provided to an AbstractControl
.
interface AbstractControlOptions {
validators?: ValidatorFn | ValidatorFn[] | null
asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[] | null
updateOn?: 'change' | 'blur' | 'submit'
}
Properties
Property | Description |
---|---|
ValidatorFn[] | null | The list of validators applied to a control. |
AsyncValidatorFn[] | null | The list of async validators applied to control. |
'blur' | 'submit' | The event name for control to update upon. |
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/forms/AbstractControlOptions