@tanstack/solid-form: Uncaught TypeError: Cannot convert undefined or null to object
nashaofu opened this issue · comments
nashaofu commented
Describe the bug
When I execute form.reset()
and input again, an error message will appear
Your minimal, reproducible example
https://codesandbox.io/p/devbox/wonderful-golick-l4mp3l?file=%2Fsrc%2Findex.tsx
Steps to reproduce
- Open brower devtool,
- Click "Reset"
- Enter content in the input box
Expected behavior
without error.
How often does this bug happen?
Every time
Screenshots or Videos
Chrome.2024-03-25.17-34-47.mp4
Platform
OS: Windows
Browser: Chrome
TanStack Form adapter
solid-form
TanStack Form version
0.18.0
TypeScript version
5.4.2
Additional context
No response
Corbin Crutchley commented
Duplicate of #495