TanStackT
TanStack8mo ago
22 replies
scornful-crimson

Why is defaultValues required to correctly get type-safety?

More of a question, if I already have a Zod schema defined, why can't tanstack form use the type from that validation instead of requiring me to specify each default value just so I can get type safety?
Was this page helpful?