-
-
Notifications
You must be signed in to change notification settings - Fork 566
Open
Description
Describe the bug
When we add a field to the form validator, it adds all properties from the file object into the form fields, this really messes up the auto complete and seems unnecessary.
Your minimal, reproducible example
https://stackblitz.com/edit/vitejs-vite-hw3jlbst?file=src%2FApp.tsx
Steps to reproduce
- create a form
- add a validation for a file (for example
z.file()) - try to auto complete a field with the name of the file
Expected behavior
Only show the file field itself, not its properties
How often does this bug happen?
Every time
Screenshots or Videos
Platform
- OS: Windows 11
- VSCode
TanStack Form adapter
react-form
TanStack Form version
1.27.3
TypeScript version
5.9.3
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels