final-form / final-form/react-final-form-hooks

Support for arrays

Open
#49 4 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
469
Forks
19
PR merge metrics
No merged PRs in 30d

Description

### Feature request

I'm trying to add a small array to one of my forms, but it doesn't seem to be supported at the moment.

Currently, when I to `useField` on a field that has an array in `initialValues`, the returned field will have an empty string as `.input.value` instead of the array passed with `initialValues`.

Any chance of supporting this? Maybe with a `useArrayField()`? 🤔

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.