We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e5621 commit 475f7cfCopy full SHA for 475f7cf
packages/autocomplete/src/autocomplete.vue
@@ -9,15 +9,14 @@
9
>
10
<el-input
11
ref="input"
12
- v-bind="$props"
+ v-bind="[$props, $attrs]"
13
@input="handleChange"
14
@focus="handleFocus"
15
@blur="handleBlur"
16
@keydown.up.native.prevent="highlight(highlightedIndex - 1)"
17
@keydown.down.native.prevent="highlight(highlightedIndex + 1)"
18
@keydown.enter.native="handleKeyEnter"
19
@keydown.native.tab="close"
20
- :label="label"
21
22
<template slot="prepend" v-if="$slots.prepend">
23
<slot name="prepend"></slot>
@@ -70,6 +69,8 @@
70
69
71
mixins: [Emitter, Focus('input'), Migrating],
72
+ inheritAttrs: false,
73
+
74
componentName: 'ElAutocomplete',
75
76
components: {
0 commit comments