This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

AbstractControlOptions

Interface for options provided to an AbstractControl.

      
      interface AbstractControlOptions {
  validators?: ValidatorFn | ValidatorFn[] | null
  asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[] | null
  updateOn?: 'change' | 'blur' | 'submit'
}
    

Properties

Property Description
validators?: ValidatorFn | ValidatorFn[] | null

List of validators applied to control.

asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[] | null

List of async validators applied to control.

updateOn?: 'change' | 'blur' | 'submit'

The event name for control to update upon.