New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't provide validatorAdapter when using createFormFactory #610
Comments
I created reproducable example, just use createFormFactory instead of usual form creation: |
Good catch! For now, you can Thanks for the detailed report! |
I dig a bit and find another way to solve this issue: createFormFactory<Model, typeof zodValidator> |
whoops I duped this :) #669 |
Describe the bug
When I try to specify validatorAdapter in createFormFactory props or formFactory.useForm props, I get these errors:
Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-form-vycsno
Steps to reproduce
Expected behavior
no type error
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
WSL 2
Tanstack Form adapter
react-form
TanStack Form version
0.13.6
TypeScript version
5.3.3
Additional context
No response
The text was updated successfully, but these errors were encountered: