mirror of https://github.com/ElemeFE/element
stop autocomplete enter event bubbling
parent
49570f9e41
commit
fa5aa2b183
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue