Replies: 1 comment
-
Can you provide a CodeSandbox that demonstrates your issue? It's hard to know what's going wrong without that. I would guess that the issue is What happens if you just submit the form, but don't call the mutation (leave You can try moving |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I use
zod
,@radix-ui/react-select
,@tanstack/react-query
to handle forms and I don't know what is going wrong.When I fetch data with useQuery, it fills defaultValues which is good. After that, When I submit the form, Select options all goes to null or
''
for some reason.I made sure all the packages are up to date. But the result is still the same.
Beta Was this translation helpful? Give feedback.
All reactions