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

I’m not crazy about the assumption that the entire element itself should trigger the implicit submit process by default. What if there are other, non-actionable elements in that node’s shadow root (or even a reset or back button). I’d like to amend my suggestion above to have the internals method return a function that could be called to trigger submission from the custom element though. 

Having a single flag and assuming that’s sufficient doesn’t always make sense in the use cases I’ve seen. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/814#issuecomment-1446441909

You are receiving this because you are subscribed to this thread.

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

Received on Monday, 27 February 2023 14:37:13 UTC