Interface

ArrayContext

@ng-forge/dynamic-forms

Array context for fields rendered within arrays. Provides position and parent array information for components inside array fields.

Signature

interface ArrayContext

Properties

NameTypeDescription
arrayKey stringThe key of the parent array field.
index Signal<number>

The index of this item within the array. Uses linkedSignal to automatically update when items are added/removed, allowing index-dependent logic to react without component recreation.

formValue unknownThe current form value for token resolution.
field FieldDef<unknown, FieldMeta>The array field definition.