TanStackT
TanStack11mo ago
15 replies
primary-violet

field.state.meta.errors type is undefined[] when using Form level schema only?

https://stackblitz.com/edit/vitejs-vite-4fblmacv?file=src%2Fcomponents%2FForm.tsx

You can see the highlighted type error for errors? Not sure if this should be inferred from a generic? I notice that if I use a field level validator, the type is updated.
StackBlitzjuanvilladev
Next generation frontend tooling. It's fast!
Vitejs - Vite (forked) - StackBlitz
Was this page helpful?