interface
Interface for options provided to a FormControl
.
interface FormControlOptions extends AbstractControlOptions { nonNullable?: boolean initialValueIsDefault?: boolean // inherited from forms/AbstractControlOptions validators?: ValidatorFn | ValidatorFn[] | null asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[] | null updateOn?: 'change' | 'blur' | 'submit' }
This interface extends all options from AbstractControlOptions
, plus some options unique to FormControl
.
Property | Description |
---|---|
nonNullable?: boolean | Whether to use the initial value used to construct the |
initialValueIsDefault?: boolean | Deprecated Deprecated Use |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/forms/FormControlOptions