W3cubDocs

/Angular

ControlConfig

type-alias

ControlConfig is a tuple containing a value of type T, plus optional validators and async validators.

type ControlConfig<T> = [
    T | FormControlState<T>,
    (ValidatorFn | (ValidatorFn[]))?,
    (AsyncValidatorFn | AsyncValidatorFn[])?
];

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/forms/ControlConfig