menu
menuAPI
Exports the required infrastructure and directives for reactive forms, making them available for import by NgModules that import this module.
class ReactiveFormsModule { static withConfig(opts: { warnOnNgModelWithFormControl?: "always" | "never" | "once" | undefined; callSetDisabledState?: SetDisabledStateOption | undefined; }): ModuleWithProviders<ReactiveFormsModule>;}
ModuleWithProviders<ReactiveFormsModule>Provides options for configuring the reactive forms module.
{ warnOnNgModelWithFormControl?: "always" | "never" | "once" | undefined; callSetDisabledState?: SetDisabledStateOption | undefined; }An object of configuration options
warnOnNgModelWithFormControl Configures when to emit a warning when an ngModel
binding is used with reactive form directives.callSetDisabledState Configures whether to always call setDisabledState, which is more
correct, or to only call it whenDisabled, which is the legacy behavior.ModuleWithProviders<ReactiveFormsModule>