Function
pageFieldMapper
@ng-forge/dynamic-forms
Maps a page field definition to component inputs.
Page fields are layout containers that don't modify the form context.
The page component will inject FIELD_SIGNAL_CONTEXT directly.
Note: Unlike other container mappers (group, row, array), the page mapper does NOT
resolve hidden logic here. Page visibility is managed by the {@link PageOrchestratorComponent}
which evaluates ContainerLogicConfig conditions and controls the isVisible input.
Signature
function pageFieldMapper(fieldDef: PageField<PageAllowedChildren[]>): Signal<Record<string, unknown>>Parameters
| Name | Type | Description |
|---|---|---|
fieldDef | PageField<PageAllowedChildren[]> | The page field definition |
Returns
Signal<Record<string, unknown>>
packages/dynamic-forms/src/lib/mappers/page/page-field-mapper.ts:18