Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page 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'
}
    

Child interfaces

Properties

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

The list of validators applied to a control.

asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[] | null

The list of async validators applied to control.

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

The event name for control to update upon.