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: {...}): ModuleWithProviders<ReactiveFormsModule> }
See also
Static methods
withConfig()
|
||
---|---|---|
Provides options for configuring the reactive forms module. |
||
|
opts | An object of configuration options |
Returns
Providers
Provider |
---|
FormBuilder |
RadioControlRegistry |
Directives
Name | Description |
---|---|
CheckboxControlValueAccessor |
The accessor for writing a value and listening to changes on a checkbox input element. |
CheckboxRequiredValidator |
A Directive that adds the |
DefaultValueAccessor |
The default accessor for writing a value and listening to changes that is used by the |
EmailValidator |
A Directive that adds the |
FormArrayName |
Syncs a nested |
FormControlDirective |
Syncs a standalone |
FormControlName |
Syncs a |
FormGroupDirective |
Binds an existing |
FormGroupName |
Syncs a nested |
MaxLengthValidator |
A directive which installs the |
MinLengthValidator |
A directive which installs the |
NgControlStatus |
Directive automatically applied to Angular form controls that sets CSS classes based on control status. The following classes are applied as the properties become true: |
NgControlStatusGroup |
Directive automatically applied to Angular form groups that sets CSS classes based on control status (valid/invalid/dirty/etc). |
NgSelectOption |
Marks |
PatternValidator |
A Directive that adds the |
RadioControlValueAccessor |
Writes radio control values and listens to radio control changes. |
RequiredValidator |
A Directive that adds the |
SelectControlValueAccessor |
Writes values and listens to changes on a select element. |
SelectMultipleControlValueAccessor |
The accessor for writing a value and listening to changes on a select element. |
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/forms/ReactiveFormsModule