Re: [w3c/webcomponents] Form autocompletion is broken when form elements are encapsulated within a Shadow DOM (#649)

> they have no way of participating in most of HTML forms features (including _autofill_ and _implicit submit_)?

Autofill works. It's implicit submit and form submission that don't.

> Then what would be a way to create custom elements that should be able to work with forms? Maybe you can give some pointers for where to look.

Well, you can create a custom element without using shadow DOM to encapsulate the form parts. But assuming you want to use shadow DOM, what we need here is basically #187 for form submission.

I haven't heard of anyone requesting implicit submit support. For that I suppose you could use keydown event listeners and such to emulate the behavior.

-- 
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/649#issuecomment-316509981

Received on Wednesday, 19 July 2017 20:39:45 UTC