You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()? 🤔
The text was updated successfully, but these errors were encountered:
@et doesn't work because useFieldArray uses a different framework and requires form state to be passed down via context.
This library doesn't pass down form state via context.
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 ininitialValues
, the returned field will have an empty string as.input.value
instead of the array passed withinitialValues
.Any chance of supporting this? Maybe with a
useArrayField()
? 🤔The text was updated successfully, but these errors were encountered: