Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
isSubmitting
behaviour to mimic v1 (#1987)
In version 2 the behaviour of isSubmitting was changed from having the user handle its state after submitting to always resetting it to false after the onSubmit handler had returned (or it's promise). This adds back to the version 1 behaviour of not touching the isSubmitting state after the onSubmit handler has been called if we don't return a promise in the onSubmit handler. Solves: #1957
- Loading branch information
1 parent
c0fe1b9
commit 3ce6551
Showing
4 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3ce6551
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: