- From: Ely De La Cruz <notifications@github.com>
- Date: Mon, 28 Jun 2021 06:01:41 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 28 June 2021 13:01:54 UTC
@domenic Quick question: What if we, instead of adding a `submitButton: boolean` property, we added a `type: string` property, which would accept one of the already existing form control element `type`s; E.g., 'submit', 'reset', 'select-one', etc.. - This approach would allow for any of the existing form control functionalities to be injected into the `ElementInternals` interface (as required) allowing component authors to just set `this.#internals.type` in order to switch on which ever available functionality they require, no? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/814#issuecomment-869663690
Received on Monday, 28 June 2021 13:01:54 UTC