Skip to content

Commit

Permalink
fix: select field issue
Browse files Browse the repository at this point in the history
  • Loading branch information
18alantom committed Apr 11, 2023
1 parent 95e5447 commit 1dc0911
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Controls/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1dc0911

Please sign in to comment.