Re: [WICG/webcomponents] Form-associated custom elements: being a submit button (#814)

> @mfreed7 @smaug---- is there interest from Chromium and Gecko for this set of APIs?

I am supportive of trying to find a solution to the OP: a FACE should be able to (easily) be a submit button. I'm still a bit unclear after reading this thread what the final solution looks like. I'm in favor of a solution where the submission behavior is provided automatically, since as [mentioned](https://github.com/WICG/webcomponents/issues/814#issuecomment-1429901740), browser-provided submission behavior is complex and error-prone. Making developers implement this themselves just enlarges that can of worms. So I think I like the initial proposal: `this.#internals.submitButton = true`, which makes the FACE behave just like `<input type=submit>` for form submission.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/814#issuecomment-1440553630
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/814/1440553630@github.com>

Received on Wednesday, 22 February 2023 18:18:20 UTC