Function

containerFieldMapper

@ng-forge/dynamic-forms

Maps a container field definition to component inputs.

Container components are layout containers that don't change the form shape. The container component will inject FIELD_SIGNAL_CONTEXT directly.

Supports hidden state resolution via logic array or static hidden property.

Signature

function containerFieldMapper(fieldDef: ContainerField<readonly ContainerAllowedChildren[], readonly WrapperConfig[]>): Signal<Record<string, unknown>>

Parameters

NameTypeDescription
fieldDefContainerField<readonly ContainerAllowedChildren[], readonly WrapperConfig[]>The container field definition

Returns

Signal<Record<string, unknown>>