Skip to content

Fix form event forwarding - #5

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
fix-form-event-forwarding
Sep 7, 2026
Merged

samuel-williams-shopify merged 1 commit into
mainfrom
fix-form-event-forwarding

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Description

Construct form data from the submit event target instead of the nonexistent event.form property. Include the submitter when available and use the configured window's FormData implementation.

Add coverage for forwarding named form controls, the submit button, and event detail.

Testing

npm test

Signed-off-by: Samuel Williams <samuel.williams@shopify.com>
Assisted-By: devx/7ef83274-928f-499d-b668-48449b1ff60e
@samuel-williams-shopify
samuel-williams-shopify merged commit 418ecee into main Sep 7, 2026
6 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the fix-form-event-forwarding branch September 7, 2026 08:53
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