You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Solid's classList inside a form.Field when name attribute and onBlur handler are present causes the field to be rerendered multiple times when blurred (10 times initially, 4 times each following blur)
I just realized that under the Solid context the field isn't "rerendered" as I described, but the test function is still called more times than it should be :)
Describe the bug
Using Solid's
classList
inside aform.Field
whenname
attribute andonBlur
handler are present causes the field to be rerendered multiple times when blurred (10 times initially, 4 times each following blur)Your minimal, reproducible example
https://stackblitz.com/edit/solidjs-templates-zqhzdfcv?file=src%2Findex.tsx
Steps to reproduce
Expected behavior
Rerender to happen at most once
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Tested on the latest Chrome/Windows 11
TanStack Form adapter
solid-form
TanStack Form version
v1.3.0
TypeScript version
v5.8.3
Additional context
Removing the
name
attribute fixes the issueThe text was updated successfully, but these errors were encountered: