On this page
ReactiveFormsModule
ngmodule
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: "never" | "once" | "always"; }): ModuleWithProviders<ReactiveFormsModule>
}
   See also
Static methods
| 
         
          withConfig() 
          | 
      |||
|---|---|---|---|
Provides options for configuring the reactive forms module.  | 
      |||
        
          | 
      
opts | 
            object | 
            An object of configuration options 
  | 
           
Returns
Providers
| Provider | 
|---|
 | 
      
 | 
      
Directives
| Name | Description | 
|---|---|
   | 
       A   | 
      
   | 
       A Directive that adds the   | 
      
   | 
       The default   | 
      
   | 
       A directive that adds the   | 
      
   | 
       Syncs a nested   | 
      
   | 
       
        
  | 
      
   | 
       Syncs a   | 
      
   | 
       Binds an existing   | 
      
   | 
       Syncs a nested   | 
      
   | 
       A directive that adds max length validation to controls marked with the   | 
      
   | 
       A directive that adds minimum length validation to controls marked with the   | 
      
   | 
       Directive automatically applied to Angular form controls that sets CSS classes based on control status.  | 
      
   | 
       Directive automatically applied to Angular form groups that sets CSS classes based on control status (valid/invalid/dirty/etc).  | 
      
   | 
       Marks   | 
      
   | 
       A directive that adds regex pattern validation to controls marked with the   | 
      
   | 
       The   | 
      
   | 
       A directive that adds the   | 
      
   | 
       The   | 
      
   | 
       The   | 
      
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v7.angular.io/api/forms/ReactiveFormsModule