dynamic-forms / Function

createArrayItemInjectorAndInputs

Generic types:TModel

Creates an injector and inputs for an array item.

Handles different item types (flatten, group, regular) by creating appropriate form references and scoped injectors with ARRAY_CONTEXT and FIELD_SIGNAL_CONTEXT. Sets up two-way sync to propagate item form changes back to the parent form.

Presentation

Returns

Parameters

NameTypeDescription
options
CreateArrayItemInjectorOptions<TModel>