dynamic-forms / Function

baseFieldMapper

Base field mapper that extracts common field properties into component inputs.

Returns a Signal containing the Record of input names to values that will be passed to ngComponentOutlet. The signal enables reactive updates.

Presentation

function baseFieldMapper(
  fieldDef: FieldDef<unknown>,
): Signal<Record<string, unknown>>;

Returns

Signal<Record<string, unknown>> -

Signal containing Record of input names to values

Parameters

NameTypeDescription
fieldDef
FieldDef<unknown>

The field definition to map