Skip to content
Discussion options

You must be logged in to vote

In case anyone comes across this, I figured this out myself. Unrelated to any of this code, the form was submitting via a call to formDOM.submit() instead of formDOM.dispatchEvent(new Event('submit')). So the browser default form action was submitting, regardless of what enhance wanted to do.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@geoffrich
Comment options

Answer selected by mgruhn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants