TanStackT
TanStack11mo ago
15 replies
worthy-rose

Basic validation example

Having a frustrating time with the new 1.0.0 and basic validation. Maybe the documentation is not updated?

I JUST want to do this:
- when user submits form
- validate against zod schema
- if there are errors, display them under the relevant fields.

No combination of time, determination and AI assistance has led me to a working example.
I feel like this is not a fringe case. This should be so easy to do. Any working examples for this most simple of examples would be appreciated, thank you. ❤️
Was this page helpful?