logoalt Hacker News

cpburns2009yesterday at 2:06 PM1 replyview on HN

Why would you want your face to submit a form? How could it even be selected by default? Is this an April Fools joke?


Replies

arianvanpyesterday at 2:40 PM

Say you want to have a custom button element. You cant give it a `type=submit` whilst you can set that on <input> and <button>

Also if you have a face that wraps a button of type submit. The submit doesn't propagate due to shadow dom

show 1 reply