useIsSubmitting with formId triggering on multiple forms #234
Unanswered
Rocinante89
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That's correct. Is there any chance you're passing the same formId to both forms or that one of the buttons isn't being passed a formId at all? If not, could you provide a reproduction of the issue so we can fix it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a parent route and a child modal route, both with forms with specified Ids using the useIsSubmitting(formId) hook to manage their loading state. When submitting the modal route the boolean is true for both forms though. I was under the impression that isSubmitting would only be true for the associated form Id, can anyone tell me where i'm going wrong?
Screen.Recording.2023-01-15.at.14.42.28.mov
Beta Was this translation helpful? Give feedback.
All reactions