Closed juliusmarminge closed 1 month ago
When adding a validator adapter to the next server actions example it starts erroring trying to read the validator. Maybe I'm setting it up incorrectly but i just added the adapter
https://github.com/juliusmarminge/tanstack-form-zod-server-actions
Install deps, start server and try to submit:
https://github.com/TanStack/form/assets/51714798/beacc19f-c105-48cb-aba8-9068389b7f0e
it to work
Every time
No response
Don't think it's relevant but..
react-form
0.19.4
5.4.2
I think I know what's going on - oversight on my part when implementing the SSR stuff.
I'll investigate on this soon
This should work fully now
Describe the bug
When adding a validator adapter to the next server actions example it starts erroring trying to read the validator. Maybe I'm setting it up incorrectly but i just added the adapter
Your minimal, reproducible example
https://github.com/juliusmarminge/tanstack-form-zod-server-actions
Steps to reproduce
Install deps, start server and try to submit:
https://github.com/TanStack/form/assets/51714798/beacc19f-c105-48cb-aba8-9068389b7f0e
Expected behavior
it to work
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Don't think it's relevant but..
TanStack Form adapter
react-form
TanStack Form version
0.19.4
TypeScript version
5.4.2
Additional context
No response