Remix.run Logo
arianvanp 5 hours ago

I tried Web Components to create a `<passkey>` element to allow Passkey support in forms without having to write javascript as an end-user.

I ran into https://github.com/WICG/webcomponents/issues/814

As long as this is not fixed I can't take Web Components seriously.

cpburns2009 3 hours ago | parent [-]

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

arianvanp 2 hours ago | parent [-]

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