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> }
Providers associated with this module:
FormBuilder
RadioControlRegistry
withConfig() | |||
---|---|---|---|
Provides options for configuring the reactive forms module. | |||
|
opts | object | An object of configuration options
|
Provider |
---|
{ provide: FormBuilder, useClass: FormBuilder } |
Name | Description |
---|---|
CheckboxControlValueAccessor | A |
CheckboxRequiredValidator | A Directive that adds the |
DefaultValueAccessor | The default |
EmailValidator | A directive that adds the |
FormArrayName | Syncs a nested |
FormControlDirective | Synchronizes a standalone |
FormControlName | Syncs a |
FormGroupDirective | Binds an existing |
FormGroupName | Syncs a nested |
MaxLengthValidator | A directive that adds max length validation to controls marked with the |
MinLengthValidator | A directive that adds minimum length validation to controls marked with the |
NgControlStatus | Directive automatically applied to Angular form controls that sets CSS classes based on control status. |
NgControlStatusGroup | Directive automatically applied to Angular form groups that sets CSS classes based on control status (valid/invalid/dirty/etc). |
NgSelectOption | Marks |
NumberValueAccessor | The |
PatternValidator | A directive that adds regex pattern validation to controls marked with the |
RadioControlValueAccessor | The |
RangeValueAccessor | The |
RequiredValidator | A directive that adds the |
SelectControlValueAccessor | The |
SelectMultipleControlValueAccessor | The |
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/forms/ReactiveFormsModule