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

I don't understand what `.type === 'submit'` means. I think we need what OP suggests and have something be set on `ElementInternals`. We cannot invoke JavaScript to determine something is a submit button.

As for implicit submission, if the only FACE you have is a submit button, I think you'd want implicit submission from a non-FACE to do something with it.

It's a good question what should happen inside a FACE with regards to implicit submission. I guess that cannot deviate from what happens today, though perhaps we should create an affordance for that as well?

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

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

Received on Tuesday, 14 February 2023 07:51:00 UTC