Web Components Community

Discussion on: Blending Web Components Into Standard HTML Forms

Collapse
kaina profile image
James Lovallo

This is certainly better than what I've been doing, adding a hidden input outside of the Shadow DOM and updating the value as the user types inside the component's input. When I publish form element's I'll probably still do this because it's foolproof, but for my own personal elements I will definitely give this a try. Thanks for sharing!