Interface AbstractControlOptions<T, E>

interface AbstractControlOptions<T = any, E extends NgValidationErrors = any> {
    asyncValidators?:
        | null
        | AsyncValidatorFn<T, E>
        | AsyncValidatorFn<T, E>[];
    updateOn?: "change" | "blur" | "submit";
    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?: "change" | "blur" | "submit"

The event name for control to update upon.

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

The list of validators applied to a control.