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

Add HTMLFormElement.requestSubmit Polyfill #1240

Open
andrew-pyle opened this issue Nov 2, 2022 · 3 comments
Open

Add HTMLFormElement.requestSubmit Polyfill #1240

andrew-pyle opened this issue Nov 2, 2022 · 3 comments
Labels
library Relates to an Origami library service Relates to an Origami service

Comments

@andrew-pyle
Copy link
Contributor

Feature

What

I'd like to request the HTMLFormElement.requestSubmit polyfill (https://www.npmjs.com/package/form-request-submit-polyfill) be added to polyfill.io

Details

HTMLFormElement.requestSubmit() allows for triggering the SubmitEvent when submitting a form via Javascript. Currently Chrome, Firefox, and Edge support it but Safari <16 does not: https://caniuse.com/?search=requestsubmit

@github-actions github-actions bot added the service Relates to an Origami service label Nov 2, 2022
@JakeChampion JakeChampion transferred this issue from polyfillpolyfill/polyfill-service Nov 2, 2022
@github-actions github-actions bot added the library Relates to an Origami library label Nov 2, 2022
@JakeChampion
Copy link
Owner

Howdy, I've not looked at the polyfill myself but thought I'd mention we have contribution guides for adding a new polyfill if you wanted to give it a go 🤞 https://github.com/Financial-Times/polyfill-library/blob/master/.github/contributing.md#adding-a-new-polyfill

@mhassan1
Copy link
Collaborator

mhassan1 commented Nov 4, 2022

@andrew-pyle I can take a stab at it, unless you wanted to.

@andrew-pyle
Copy link
Contributor Author

@mhassan1 @JakeChampion I actually started working on this about an hour ago. I think I can finish it today.

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

No branches or pull requests

3 participants