Autocomplete: hide suggestions on blur

pull/6557/head
Leopoldthecoder 2017-08-03 15:14:17 +08:00 committed by 杨奕
parent f90bfa1362
commit 09e02e703d
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
@keydown.up.native.prevent="highlight(highlightedIndex - 1)"
@keydown.down.native.prevent="highlight(highlightedIndex + 1)"
@keydown.enter.native.prevent="handleKeyEnter"
@keydown.native.tab="close"
>
<template slot="prepend" v-if="$slots.prepend">
<slot name="prepend"></slot>