Nested fields
Manage nested arrays and object state with use-form hook
Docs
Package
Properties paths
Most of form
handlers accept property path as the first argument.
Property path includes keys/indices of objects/arrays at which target property is contained:
Nested objects
Set nested object value
Nested object values validation
Nested arrays
Name
Status
List handlers
useForm
hook provides the following handlers to manage list state:
removeListItem
– removes list item at given indexinsertListItem
– inserts list item at given index (appends item to the end of the list if index is not specified)reorderListItem
– reorders list item with given position at specified fieldreplaceListItem
– replaces list item at given index with new value