mirror of https://github.com/ElemeFE/element
Autocomplete: passes id to nested native input (#11643)
parent
85e562185e
commit
475f7cf01d
|
@ -9,7 +9,7 @@
|
|||
>
|
||||
<el-input
|
||||
ref="input"
|
||||
v-bind="$props"
|
||||
v-bind="[$props, $attrs]"
|
||||
@input="handleChange"
|
||||
@focus="handleFocus"
|
||||
@blur="handleBlur"
|
||||
|
@ -17,7 +17,6 @@
|
|||
@keydown.down.native.prevent="highlight(highlightedIndex + 1)"
|
||||
@keydown.enter.native="handleKeyEnter"
|
||||
@keydown.native.tab="close"
|
||||
:label="label"
|
||||
>
|
||||
<template slot="prepend" v-if="$slots.prepend">
|
||||
<slot name="prepend"></slot>
|
||||
|
@ -70,6 +69,8 @@
|
|||
|
||||
mixins: [Emitter, Focus('input'), Migrating],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
componentName: 'ElAutocomplete',
|
||||
|
||||
components: {
|
||||
|
|
Loading…
Reference in New Issue