ReactiveFormsModule
NgModule
stable
Exports the required infrastructure and directives for reactive forms, making them available for import by NgModules that import this module.
withConfig
ModuleWithProviders<ReactiveFormsModule>Provides options for configuring the reactive forms module.
@paramopts
{ warnOnNgModelWithFormControl?: "always" | "never" | "once" | undefined; callSetDisabledState?: SetDisabledStateOption | undefined; }An object of configuration options
warnOnNgModelWithFormControlConfigures when to emit a warning when anngModelbinding is used with reactive form directives.callSetDisabledStateConfigures whether toalwayscallsetDisabledState, which is more correct, or to only call itwhenDisabled, which is the legacy behavior.
@returns
ModuleWithProviders<ReactiveFormsModule>Jump to details