Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change isSubmitting behaviour to mimic v1 #1987

Merged

Commits on Nov 20, 2019

  1. Change isSubmitting behaviour to mimic v1

    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: jaredpalmer#1957
    Tigge committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    2028d93 View commit details
    Browse the repository at this point in the history