Does zod-form-data support arrays of objects? #129
-
Hey there, curious if im doing things wrong or trying something that isn't supported. Looking at https://www.remix-validated-form.io/arrays-and-nested, i thought this would work
when i submit the form i get
i've tried a few different combos on the schema but can't seem to get what i would expect, so just not sure if i'm using the package wrong? or if i need to use the full remix-validated-form package? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Looks like this is a bug. This line here should be using |
Beta Was this translation helpful? Give feedback.
-
I still can get empty array when validate array of object |
Beta Was this translation helpful? Give feedback.
Looks like this is a bug. This line here should be using
set
from lodash. Would you mind filing an issue?