mirror of https://github.com/ElemeFE/element
Select: fix select filterable bug (#17494)
parent
19f25baffc
commit
4943867337
|
@ -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">
|
||||
<template slot="prefix" v-if="$slots.prefix">
|
||||
|
|
Loading…
Reference in New Issue