← Winnitude! Search  ·  Reader Mode (182 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
ANGULAR.DEV · Angular Team · 9 LINKS

FormsModule · Angular

@angular/forms

FormsModule

NgModule stable View source

Exports the required providers and directives for template-driven forms, making them available for import by NgModules that import this module.

API

    
      class FormsModule {
}

    
    

withConfig

ModuleWithProviders<FormsModule>

Provides options for configuring the forms module.

@param opts { 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.
@returns ModuleWithProviders<FormsModule>