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

Prevent default form submit by default #385

Merged
merged 1 commit into from May 29, 2020
Merged

Prevent default form submit by default #385

merged 1 commit into from May 29, 2020

Conversation

tcbegley
Copy link
Collaborator

@tcbegley tcbegley commented May 29, 2020

Fix for form submit behaviour reported in #384

preventDefault is now called inside the onSubmit method of Form to stop a form submission + page refresh. This can be overridden with prevent_default_on_submit=False.

@tcbegley tcbegley merged commit a0593d0 into master May 29, 2020
2 checks passed
@tcbegley tcbegley deleted the form-submit branch May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant