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
When you have a form with an async validator, the field().state.meta.isValidating property doesn't go back to true when you trigger the async validation after the first time.
Describe the bug
When you have a form with an async validator, the
field().state.meta.isValidatingproperty doesn't go back totruewhen you trigger the async validation after the first time.Your minimal, reproducible example
https://stackblitz.com/~/github.com/AlexanderHott/tanstack-solid-form-async-validator-bug
Steps to reproduce
adminChecking username...message for 2000msUsername is already takenasdfExpected behavior
I expect the
Checking username...message to appear again, because the validator is validating, but there is no pending/loading message.The validator error does show up correctly afterwards.
How often does this bug happen?
Every time
Screenshots or Videos
Screencast_20260904_042635-00.00.00.000-00.00.09.558.webm
Platform
TanStack Form adapter
solid-form
TanStack Form version
1.33.5
TypeScript version
5.9.3
Additional context
I think the relevant code is here
form/packages/form-core/src/FieldApi.ts
Lines 1508 to 1535 in b865ef3