Interface AbstractControlOptions<T, E>

interface AbstractControlOptions<T = any, E extends NgValidationErrors = any> {
    asyncValidators?:
        | null
        | AsyncValidatorFn<T, E>
        | AsyncValidatorFn<T, E>[];
    updateOn?: "submit" | "change" | "blur";
    validators?: null | ValidatorFn<T, E> | ValidatorFn<T, E>[];
}

Type Parameters

  • T = any
  • E extends NgValidationErrors = any

Hierarchy

  • AbstractControlOptions
    • AbstractControlOptions

Properties

asyncValidators?: null | AsyncValidatorFn<T, E> | AsyncValidatorFn<T, E>[]

The list of async validators applied to control.

updateOn?: "submit" | "change" | "blur"

The event name for control to update upon.

validators?: null | ValidatorFn<T, E> | ValidatorFn<T, E>[]

The list of validators applied to a control.