Re: [w3c/webcomponents] [Custom]: Need callback for form submit data (bugzilla: 24603) (#187)

I think a nice solution would be to have an `HTMLFormableElement` interface that has no element associated with it. It would have the same fields/properties `HTMLInputElement` currently has. `HTMLInputElement` would merely be a subtype of `HTMLFormableElement`. Whenever the submit button is pressed on a form, it checks and submits information about all its `HTMLFormableElement` children (and not just its `HTMLInputElement` children).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/187#issuecomment-247374566

Received on Thursday, 15 September 2016 16:12:42 UTC