FieldArrayStore

Field array store interface that provides reactive access to the state of an array field created with injectFieldArray or the *formischFieldArray directive.

Generics

Definition

Explanation

The items signal contains a unique identifier for every item of the array. Use it as the track expression of your @for block: the identifiers are stable across reorders, so Angular moves the existing DOM instead of recreating it, and the state of each field stays attached to the right item.

The errors signal contains the validation errors of the array itself, for example from v.nonEmpty() or v.maxLength(), not the errors of the fields inside the array.

Contributors

Thanks to all the contributors who helped make this page better!

  • GitHub profile picture of @fabian-hiller

Partners

Thanks to our partners who support the project ideally and financially.

Sponsors

Thanks to our GitHub sponsors who support the project financially.

  • GitHub profile picture of @vasilii-kovalev
  • GitHub profile picture of @UpwayShop
  • GitHub profile picture of @ruiaraujo012
  • GitHub profile picture of @hyunbinseo
  • GitHub profile picture of @nickytonline
  • GitHub profile picture of @kibertoad
  • GitHub profile picture of @caegdeveloper
  • GitHub profile picture of @Thanaen
  • GitHub profile picture of @bmoyroud
  • GitHub profile picture of @ysknsid25
  • GitHub profile picture of @dslatkin