Is there any way to avoid the useIsSubmitting being true for all actions buttons in a form? #274
rahulpsingh
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To start with, I read the note saying we should add
type="reset"
ortype="reset"
to the button attribute to avoid theuseIsSubmitting()
to returntrue
. I have an use case and I think many can have this, is there any way to have more than one actions in one form? My code Looks like this:Button:
The Form:
Is there any way to avoid the
isSubmitting
being true for both buttons at once?Beta Was this translation helpful? Give feedback.
All reactions