FormsModule
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; }): ModuleWithProviders<FormsModule>
}
See also
Static methods
withConfig() |
---|
Provides options for configuring the forms module. |
ParametersReturns |
Directives
Name | Description |
---|---|
|
A |
|
A Directive that adds the |
|
The default |
|
A directive that adds the |
|
A directive that adds maximum length validation to controls marked with the
|
|
A directive which installs the |
|
A directive that adds minimum length validation to controls marked with the
|
|
A directive which installs 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). On groups, this includes the additional class ng-submitted. |
|
Creates a top-level |
|
Creates a |
|
Creates and binds a |
|
Marks |
|
The |
|
A directive that adds regex pattern validation to controls marked with the
|
|
The |
|
The |
|
A directive that adds the |
|
The |
|
The |