Resubmit fetcher.Form #10154
Unanswered
lucasrothman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a fetcher.Form. When submitted, sometimes it throws an error message (as desired). This triggers a modal where the user has to submit more information. When that modal is closed, I want to run a callback that re-submits the fetcher.Form (which is now expected to not error). What is the best way to do this?
I know I could store all the fields in my form in state and then fetcher.submit(state), but is there a better way to just re-submit a form?
Beta Was this translation helpful? Give feedback.
All reactions