From 494386733724e9742577834c7e838c3a656887d9 Mon Sep 17 00:00:00 2001 From: pofore Date: Thu, 29 Jul 2021 11:39:12 +0800 Subject: [PATCH] Select: fix select filterable bug (#17494) --- packages/select/src/select.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/select/src/select.vue b/packages/select/src/select.vue index 9bca678ef..4c5fb6cdd 100644 --- a/packages/select/src/select.vue +++ b/packages/select/src/select.vue @@ -83,13 +83,12 @@ :tabindex="(multiple && filterable) ? '-1' : null" @focus="handleFocus" @blur="handleBlur" - @keyup.native="debouncedOnInputChange" + @input="debouncedOnInputChange" @keydown.native.down.stop.prevent="navigateOptions('next')" @keydown.native.up.stop.prevent="navigateOptions('prev')" @keydown.native.enter.prevent="selectOption" @keydown.native.esc.stop.prevent="visible = false" @keydown.native.tab="visible = false" - @paste.native="debouncedOnInputChange" @mouseenter.native="inputHovering = true" @mouseleave.native="inputHovering = false">