From 1dc0911addf949376fcc16b51dc50d2208119499 Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Tue, 11 Apr 2023 12:15:25 +0530 Subject: [PATCH] fix: select field issue --- src/components/Controls/Select.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Controls/Select.vue b/src/components/Controls/Select.vue index d7a404ac..186e4466 100644 --- a/src/components/Controls/Select.vue +++ b/src/components/Controls/Select.vue @@ -73,7 +73,10 @@ export default defineComponent({ methods: { onChange(e: Event) { const target = e.target; - if (!(target instanceof HTMLInputElement)) { + if ( + !(target instanceof HTMLSelectElement) && + !(target instanceof HTMLInputElement) + ) { return; }