mirror of https://github.com/ElemeFE/element
Autocomplete: hide suggestions on blur
parent
f90bfa1362
commit
09e02e703d
|
@ -17,6 +17,7 @@
|
||||||
@keydown.up.native.prevent="highlight(highlightedIndex - 1)"
|
@keydown.up.native.prevent="highlight(highlightedIndex - 1)"
|
||||||
@keydown.down.native.prevent="highlight(highlightedIndex + 1)"
|
@keydown.down.native.prevent="highlight(highlightedIndex + 1)"
|
||||||
@keydown.enter.native.prevent="handleKeyEnter"
|
@keydown.enter.native.prevent="handleKeyEnter"
|
||||||
|
@keydown.native.tab="close"
|
||||||
>
|
>
|
||||||
<template slot="prepend" v-if="$slots.prepend">
|
<template slot="prepend" v-if="$slots.prepend">
|
||||||
<slot name="prepend"></slot>
|
<slot name="prepend"></slot>
|
||||||
|
|
Loading…
Reference in New Issue