addArrayItemButtonFieldMapper
Mapper for add array item button - preconfigures AddArrayItemEvent with array context.
Supports two modes:
- Inside array template: Uses ARRAY_CONTEXT to determine target array
- Outside array: Uses
arrayKeyproperty from field definition
Presentation
function addArrayItemButtonFieldMapper (
fieldDef: AddArrayItemButtonField ,
): Signal<Record<string, unknown>>;Returns
Signal<Record<string, unknown>> -Signal containing Record of input names to values for ngComponentOutlet
Parameters
| Name | Type | Description |
|---|---|---|
| fieldDef | | The add array item button field definition |