dynamic-forms / Class

ArrayFieldComponent

Decorators:@Component
Generic types:TModel
Selectors:array-field

Container component for rendering dynamic arrays of fields.

Supports add/remove operations via AddArrayItemEvent and RemoveArrayItemEvent. Uses differential updates to optimize rendering - only recreates items when necessary. Each item gets a scoped injector with ARRAY_CONTEXT for position-aware operations.

Constructor

No documentation has been provided.

Presentation
constructor(
	
): ArrayFieldComponent<TModel>;

Properties

NameTypeDescription
field
InputSignal<ArrayField<readonly ArrayAllowedChildren[]>>
key
InputSignal<string>
resolvedItems
r
WritableSignal<ResolvedArrayItem[]>