dynamic-forms / Function

textFieldMapper

Maps a text field definition to component inputs.

Text fields are display-only fields that don't participate in the form schema. This mapper handles the logic configuration by creating reactive signals that evaluate conditions using the form value from RootFormRegistryService.

Presentation

function textFieldMapper(fieldDef: TextField): Signal<Record<string, unknown>>;

Returns

Signal<Record<string, unknown>> -

Signal containing Record of input names to values for ngComponentOutlet

Parameters

NameTypeDescription
fieldDef
TextField

The text field definition