menu
menuAPI
Exports the required providers and directives for template-driven forms, making them available for import by NgModules that import this module.
class FormsModule { static withConfig(opts: { callSetDisabledState?: SetDisabledStateOption | undefined; }): ModuleWithProviders<FormsModule>;}
ModuleWithProviders<FormsModule>Provides options for configuring the forms module.
{ callSetDisabledState?: SetDisabledStateOption | undefined; }An object of configuration options
callSetDisabledState Configures whether to always call setDisabledState, which is more
correct, or to only call it whenDisabled, which is the legacy behavior.ModuleWithProviders<FormsModule>