From 8ae64f21a046c88204f785519e3b59fbe1670612 Mon Sep 17 00:00:00 2001 From: Camden Narzt <47764942+cam-narzt@users.noreply.github.com> Date: Wed, 26 Jul 2023 07:35:26 -0600 Subject: [PATCH] fix(runtime): add onSelect to textarea and input (#4616) * fix(runtime): add onSelect to textarea and input Apparently this has been around for ages and is well supported: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select_event https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/select_event * lowercase attributes --- src/declarations/stencil-public-runtime.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/declarations/stencil-public-runtime.ts b/src/declarations/stencil-public-runtime.ts index aabea6c6163..662e13164a6 100644 --- a/src/declarations/stencil-public-runtime.ts +++ b/src/declarations/stencil-public-runtime.ts @@ -1031,6 +1031,8 @@ export namespace JSXBase { minlength?: number | string; multiple?: boolean; name?: string; + onSelect?: (event: Event) => void; + onselect?: (event: Event) => void; pattern?: string; placeholder?: string; readOnly?: boolean; @@ -1269,6 +1271,8 @@ export namespace JSXBase { minLength?: number; minlength?: number | string; name?: string; + onSelect?: (event: Event) => void; + onselect?: (event: Event) => void; placeholder?: string; readOnly?: boolean; readonly?: boolean | string;