Stores configuration of form array like validation and fields, but also configuration about the array (e.g. inital array values). It's the only argument that needs to be passed to
It's recommended to use
createFormArray to create a form array config.
Type of field values.
Every member function returns
this to enable fluent API.
For form item level configuration refer to
FormConfig since it has the same configuration options as
FormArrayConfig. Following members are only relevant on array level:
(initialArray: ValuesType) => FormArrayConfig
Sets initial values of the form array.
(generator: KeyGenerator<ValuesType>) => FormConfig
To identify items in a form array they need a unique key assigned to them. On default keys are generated with a key counter. That behaviour can be overriden by specifying a
KeyGenerator which has type
(item: ValuesType) => string | number: