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

Use requestSubmit to be able to hijack the submit #6663

Closed
wants to merge 1 commit into from

Conversation

chapterjason
Copy link
Contributor

@chapterjason chapterjason commented Dec 20, 2024

Currently, I am playing a bit with the delete buttons and making the request in the background without reloading the page.

Unfortunately, it looks like the submit call doesn't raise any event, so I can't preventDefault the submit event. requestSubmit does not have this issue. https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant