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 submitting a form, only the client-side state is taken into account for isSubmitting, canSubmit, etc. The server pending state isn't considered at all.
Describe the bug
When submitting a form, only the client-side state is taken into account for
isSubmitting
,canSubmit
, etc. The server pending state isn't considered at all.Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-form-uwg7fh
Steps to reproduce
In the given example, submit the form and see that the "Pending" label changes, even while the "Submit" label and button status don't.
Expected behavior
The form should be treated as submitting whenever the server action isPending flag is true.
How often does this bug happen?
Always
Screenshots or Videos
No response
Platform
n/a (all platforms)
TanStack Form adapter
None
TanStack Form version
0.35.0
TypeScript version
5.4.5
Additional context
No response
The text was updated successfully, but these errors were encountered: