Skip to content

SiFormlyComponent documentation

selector
si-formly

Input Properties

NameTypeDefaultDescription
fields
FormlyFieldConfig<(FormlyFieldProps & { [ additionalProperties: string ]: any } })>[][]Define all form fields with FormlyFieldConfig array.
form
FormGroup<TControl>
labelWidth
numberDefine width for field labels in pixel
model
{}{}Mapping of field name and its value.
options
FormlyFormOptions{}Define FormlyFormOptions.
schema
JSONSchema7JSONSchema7 can be used instead of FormlyFieldConfig array for defining form fields.

Output Properties

NameTypeDescription
fieldsChange
FormlyFieldConfig<(FormlyFieldProps & { [ additionalProperties: string ]: any } })>[]
formChange
FormGroup<TControl>
modelChange
{}Mapping of field name and its value.
schemaChange
JSONSchema7JSONSchema7 can be used instead of FormlyFieldConfig array for defining form fields.

Attributes and Methods

NameTypeDefaultDescription
(readonly) formlyForm
Signal<(undefined | FormlyForm)>...Formly main container to provide modelChange subscriptions.

Types Documentation

imported from @ngx-formly/core
imported from @ngx-formly/core
imported from @ngx-formly/core
imported from @types/json-schema
imported from @ngx-formly/core

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