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 using mantineMultiselect component, and it's value on the client seems correct as an array of strings.
But on the sever, when the form is parsed with parseWithZod the value becomes a one concatenated string 'one,two,there'.
How to solve it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using
mantine
Multiselect
component, and it's value on the client seems correct as an array of strings.But on the sever, when the form is parsed with
parseWithZod
the value becomes a one concatenated string 'one,two,there'.How to solve it.
Beta Was this translation helpful? Give feedback.
All reactions