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

Refactor form data submission #1840

Closed
domenic opened this issue Sep 29, 2016 · 1 comment
Closed

Refactor form data submission #1840

domenic opened this issue Sep 29, 2016 · 1 comment
Assignees
Labels
clarification Standard could be clearer topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: forms

Comments

@domenic
Copy link
Member

domenic commented Sep 29, 2016

As a first step for WICG/webcomponents#187 (adding customizable form data for custom elements), we decided at TPAC 2016 that we should refactor constructing the form data set by having it call out to each element (probably also each input type), instead of having it be a big switch statement inlined into the algorithm. This will help us illuminate the general requirements for what custom elements will need.

@domenic domenic added clarification Standard could be clearer topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: forms labels Sep 29, 2016
@domenic domenic self-assigned this Sep 29, 2016
@domenic
Copy link
Member Author

domenic commented Mar 19, 2020

Eh. I like the switch statement these days. Perhaps Stockholm syndrome. But we managed to do form-associated custom elements with it as well.

@domenic domenic closed this as completed Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Standard could be clearer topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: forms
Development

No branches or pull requests

1 participant