Describe the bug
The bug comes form TypeScript in the form of red lines due to the type definitions mismatch and second one in the console from React: " Warning: Cannot update a component (Field) while rendering a different component (Field). To locate the bad setState() call inside Field, follow the stack trace as described...."
Your minimal, reproducible example
https://codesandbox.io/p/devbox/react-form-2n6vht
Steps to reproduce
- open console
- click Add new to do button
- see screenshots
Expected behavior
No errors or warnings in the console or files
How often does this bug happen?
Every time
Screenshots or Videos
Platform
macbook pro, m1
nextjs 14
Tanstack Form adapter
react-form
TanStack Form version
0.13.6
TypeScript version
5
Additional context
No response
Describe the bug
The bug comes form TypeScript in the form of red lines due to the type definitions mismatch and second one in the console from React: " Warning: Cannot update a component (
Field) while rendering a different component (Field). To locate the bad setState() call insideField, follow the stack trace as described...."Your minimal, reproducible example
https://codesandbox.io/p/devbox/react-form-2n6vht
Steps to reproduce
Expected behavior
No errors or warnings in the console or files
How often does this bug happen?
Every time
Screenshots or Videos
Platform
macbook pro, m1
nextjs 14
Tanstack Form adapter
react-form
TanStack Form version
0.13.6
TypeScript version
5
Additional context
No response