webcomponents / webcomponents.github.io

WebComponents.org is where community-members document Web Components best practices
http://webcomponents.org
734 stars 126 forks source link

Article explaining how to submit forms with Custom Elements #182

Closed zenorocha closed 9 years ago

zenorocha commented 9 years ago

Native <form> element is not aware of Shadow DOM so you need to use ajax or some nice element like ajax-form.

Might be useful to show some examples on how to accomplish that with some popular elements such as paper input elements.

Related:

zenorocha commented 9 years ago

What do you think about that @rnicholus? You would be perfect to write such article ;)

rnicholus commented 9 years ago

@zenorocha Sounds like fun! I'd be happy to write something up for webcomponents.org. I need to finish up the last article in my "You Don't Need jQuery!" series, and then I can start working on this.

zenorocha commented 9 years ago

That's awesome to hear ;)

zenorocha commented 9 years ago

Closing this one due to its inactivity. If you find some time, feel free to send a PR @rnicholus :)

rnicholus commented 9 years ago

So sorry that I didn't follow through with this yet @zenorocha. I have a few too many balls in the air right now. I'll keep this on my radar and try to put together an outline and start writing something up if I find some space in between my current commitments.

zenorocha commented 9 years ago

No problem @rnicholus, that's totally acceptable :)