dynamic-forms / Interface

ArrayContext

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

Properties

NameTypeDescription
arrayKey
string

The key of the parent array field.

field
FieldDef<unknown>

The array field definition.

formValue
unknown

The current form value for token resolution.

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.