SiFormlyComponent documentation¶
selector
si-formlyInput Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| fields ¶ | FormlyFieldConfig<(FormlyFieldProps & { [ additionalProperties: string ]: any } })>[] | [] | Define all form fields with FormlyFieldConfig array. |
| form ¶ | FormGroup<TControl> | ||
| labelWidth ¶ | number | Define width for field labels in pixel | |
| model ¶ | {} | {} | Mapping of field name and its value. |
| options ¶ | FormlyFormOptions | {} | Define FormlyFormOptions. |
| schema ¶ | JSONSchema7 | JSONSchema7 can be used instead of FormlyFieldConfig array for defining form fields. |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| fieldsChange ¶ | FormlyFieldConfig<(FormlyFieldProps & { [ additionalProperties: string ]: any } })>[] | |
| formChange ¶ | FormGroup<TControl> | |
| modelChange ¶ | {} | Mapping of field name and its value. |
| schemaChange ¶ | JSONSchema7 | JSONSchema7 can be used instead of FormlyFieldConfig array for defining form fields. |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly) formlyForm ¶ | Signal<(undefined | FormlyForm)> | ... | Formly main container to provide modelChange subscriptions. |
Types Documentation¶
import imported from @ngx-formly/core |
|---|
import imported from @ngx-formly/core |
|---|
import imported from @ngx-formly/core |
|---|
import imported from @types/json-schema |
|---|
import imported from @ngx-formly/core |
|---|
Except where otherwise noted, content on this site is licensed under MIT License.