FormControlOptions
interface
stable
Interface for options provided to a FormControl.
nonNullable
boolean | undefinedWhether to use the initial value used to construct the FormControl as its default value
as well. If this option is false or not provided, the default value of a FormControl is null.
When a FormControl is reset without an explicit value, its value reverts to
its default value.
initialValueIsDefault
boolean | undefinedvalidators
ValidatorFn | ValidatorFn[] | null | undefinedThe list of validators applied to a control.
asyncValidators
AsyncValidatorFn | AsyncValidatorFn[] | null | undefinedThe list of async validators applied to control.
updateOn
"change" | "blur" | "submit" | undefinedThe event name for control to update upon.
Description
Interface for options provided to a FormControl.
This interface extends all options from AbstractControlOptions, plus some options
unique to FormControl.
Jump to details