Commit 49438673 authored by pofore's avatar pofore Committed by GitHub

Select: fix select filterable bug (#17494)

parent 19f25baf
...@@ -83,13 +83,12 @@ ...@@ -83,13 +83,12 @@
:tabindex="(multiple && filterable) ? '-1' : null" :tabindex="(multiple && filterable) ? '-1' : null"
@focus="handleFocus" @focus="handleFocus"
@blur="handleBlur" @blur="handleBlur"
@keyup.native="debouncedOnInputChange" @input="debouncedOnInputChange"
@keydown.native.down.stop.prevent="navigateOptions('next')" @keydown.native.down.stop.prevent="navigateOptions('next')"
@keydown.native.up.stop.prevent="navigateOptions('prev')" @keydown.native.up.stop.prevent="navigateOptions('prev')"
@keydown.native.enter.prevent="selectOption" @keydown.native.enter.prevent="selectOption"
@keydown.native.esc.stop.prevent="visible = false" @keydown.native.esc.stop.prevent="visible = false"
@keydown.native.tab="visible = false" @keydown.native.tab="visible = false"
@paste.native="debouncedOnInputChange"
@mouseenter.native="inputHovering = true" @mouseenter.native="inputHovering = true"
@mouseleave.native="inputHovering = false"> @mouseleave.native="inputHovering = false">
<template slot="prefix" v-if="$slots.prefix"> <template slot="prefix" v-if="$slots.prefix">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment