SiFormlyComponent documentation¶
import { SiFormlyComponent } from '@siemens/element-ng/formly-legacy';Deprecated: This component is based on Angular Formly v6 and will be removed in a future release. Migrate to the standalone SiFormlyComponent from @siemens/element-ng/formly (Formly v7.1) instead.
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| fieldsinherited ¶ | FormlyFieldConfig<FormlyFieldProps & { [additionalProperties: string]: any; }>[] | [] | Define all form fields with FormlyFieldConfig array. Inherited from SiFormlyComponent<TControl> |
| forminherited ¶ | FormGroup<TControl> | undefined | Reactive form used by Formly. A form is created when none is provided. Inherited from SiFormlyComponent<TControl> | |
| labelWidthinherited ¶ | number | undefined | Width in pixels applied to field labels. Inherited from SiFormlyComponent<TControl> | |
| modelinherited ¶ | {} | {} | Mapping of field name and its value. Inherited from SiFormlyComponent<TControl> |
| optionsinherited ¶ | FormlyFormOptions | {} | Define FormlyFormOptions. Inherited from SiFormlyComponent<TControl> |
| schemainherited ¶ | JSONSchema7 | undefined | JSONSchema7 can be used instead of FormlyFieldConfig array for defining form fields. Inherited from SiFormlyComponent<TControl> |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| fieldsChangeinherited ¶ | FormlyFieldConfig<FormlyFieldProps & { [additionalProperties: string]: any; }>[] | Emits the effective field configuration, including configuration generated from Inherited from SiFormlyComponent<TControl> |
| formChangeinherited ¶ | FormGroup<TControl> | undefined | Reactive form used by Formly. A form is created when none is provided. Inherited from SiFormlyComponent<TControl> |
| modelChangeinherited ¶ | {} | Mapping of field name and its value. Inherited from SiFormlyComponent<TControl> |
| schemaChangeinherited ¶ | JSONSchema7 | undefined | JSONSchema7 can be used instead of FormlyFieldConfig array for defining form fields. Inherited from SiFormlyComponent<TControl> |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly) formlyForminherited ¶ | Signal<FormlyForm | undefined> | viewChild(FormlyForm) | Formly main container to provide modelChange subscriptions. Inherited from SiFormlyComponent<TControl> |
Except where otherwise noted, content on this site is licensed under MIT License.