Interface
WrapperFieldInputs
@ng-forge/dynamic-forms
Input shape passed to a wrapper component via the fieldInputs input.
Carries the wrapped field's mapper outputs plus an optional field
read-only view. Wrappers reached through a container path (which has
no FieldTree of its own) receive fieldInputs === undefined, so any
wrapper that reads fieldInputs.field must guard for it.
Mappers must emit new rawInputs objects per tick rather than mutating the previous one — this bag is a shallow spread, so mutations to shared nested values leak to downstream wrappers.
Signature
interface WrapperFieldInputsProperties
| Name | Type | Description |
|---|---|---|
key | string | - |
label ? | string | - |
placeholder ? | string | - |
className ? | string | - |
props ? | Record<string, unknown> | - |
validationMessages ? | Record<string, string> | - |
defaultValidationMessages ? | Record<string, string> | - |
field ? | ReadonlyFieldTree<unknown> | - |
packages/dynamic-forms/src/lib/wrappers/wrapper-field-inputs.ts:15