stop autocomplete enter event bubbling

pull/1482/head
baiyaaaaa 2016-11-30 15:57:40 +08:00 committed by 杨奕
parent 49570f9e41
commit fa5aa2b183
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
@focus="handleFocus"
@keydown.up.native="highlight(highlightedIndex - 1)"
@keydown.down.native="highlight(highlightedIndex + 1)"
@keydown.enter.native="select(highlightedIndex)"
@keydown.enter.stop.native="select(highlightedIndex)"
>
<template slot="prepend" v-if="$slots.prepend">
<slot name="prepend"></slot>