TanStack / form

🤖 Powerful and type-safe form state management for the web. TS/JS, React Form, Solid Form, Lit Form and Vue Form.

Home Page:https://tanstack.com/form

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@tanstack/solid-form: Uncaught TypeError: Cannot convert undefined or null to object

nashaofu opened this issue · comments

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

  1. Open brower devtool,
  2. Click "Reset"
  3. 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

Duplicate of #495