- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 14 Feb 2023 07:57:42 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 14 February 2023 15:57:54 UTC
Thanks, I think that indeed argues for either something on `form` or `ElementInternals`, depending on how widely available we want to make it. This is probably the API that `requestSubmit()` should have been, but is not because: 1. It doesn't look for the default submit button. 2. It doesn't activate the _submitter_ instead going into form submission directly. Offering it as `clickDefaultSubmit()` or some such would make sense to me. (Perhaps we should also expose a `form.defaultSubmit` getter for completeness sake.) -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/814#issuecomment-1429978554 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/814/1429978554@github.com>
Received on Tuesday, 14 February 2023 15:57:54 UTC