Skip to content
Edit this page

provideSiFormFieldConfig Type documentation

TypeScript declaration

import { provideSiFormFieldConfig } from '@siemens/element-ng/form';

Provides the signal forms configuration required by SiFormFieldComponent.

It restores the ng-* classes applied by the directives of FormsModule / ReactiveFormsModule.

Example:

bootstrapApplication(AppComponent, {
  providers: [provideSiFormFieldConfig()]
});

provideSiFormFieldConfig(config?: SignalFormsConfig = {}): Provider[]

Provides the signal forms configuration required by SiFormFieldComponent.

It restores the ng-* classes applied by the directives of FormsModule / ReactiveFormsModule.

Example:

bootstrapApplication(AppComponent, {
  providers: [provideSiFormFieldConfig()]
});
Parameters


Except where otherwise noted, content on this site is licensed under MIT License.