dynamic-forms / Function

rowFieldMapper

Maps a row field definition to component inputs.

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

Presentation

function rowFieldMapper(
  fieldDef: RowField<readonly RowAllowedChildren[]>,
): Signal<Record<string, unknown>>;

Returns

Signal<Record<string, unknown>> -

Signal containing Record of input names to values for ngComponentOutlet

Parameters

NameTypeDescription
fieldDef
RowField<readonly RowAllowedChildren[]>

The row field definition