FormControlOptions
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'
}
Description
This interface extends all options from AbstractControlOptions
, plus some options
unique to FormControl
.
Properties
Property | Description |
---|---|
nonNullable?: boolean
|
Whether to use the initial value used to construct the |
initialValueIsDefault?: boolean
|
Deprecated Use |