Skip to content
Edit this page

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
fields inherited
FormlyFieldConfig<FormlyFieldProps & { [additionalProperties: string]: any; }>[] []

Define all form fields with FormlyFieldConfig array.

Inherited from SiFormlyComponent<TControl>

form inherited
FormGroup<TControl> | undefined

Reactive form used by Formly. A form is created when none is provided.

Inherited from SiFormlyComponent<TControl>

labelWidth inherited
number | undefined

Width in pixels applied to field labels.

Inherited from SiFormlyComponent<TControl>

model inherited
{} {}

Mapping of field name and its value.

Inherited from SiFormlyComponent<TControl>

options inherited
FormlyFormOptions {}

Define FormlyFormOptions.

Inherited from SiFormlyComponent<TControl>

schema inherited
JSONSchema7 | undefined

JSONSchema7 can be used instead of FormlyFieldConfig array for defining form fields.

Inherited from SiFormlyComponent<TControl>

Output Properties

Name Type Description
fieldsChange inherited
FormlyFieldConfig<FormlyFieldProps & { [additionalProperties: string]: any; }>[]

Emits the effective field configuration, including configuration generated from schema.

Inherited from SiFormlyComponent<TControl>

formChange inherited
FormGroup<TControl> | undefined

Reactive form used by Formly. A form is created when none is provided.

Inherited from SiFormlyComponent<TControl>

modelChange inherited
{}

Mapping of field name and its value.

Inherited from SiFormlyComponent<TControl>

schemaChange inherited
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)formlyForm inherited
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.