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 89dc15c commit 9fde310Copy full SHA for 9fde310
src/components/MdField/MdSelect/MdSelect.vue
@@ -17,7 +17,7 @@
17
:required="required"
18
:placeholder="placeholder"
19
v-on="inputListeners"
20
- v-bind="$attrs"
+ v-bind="attrs"
21
@focus.prevent="onFocus"
22
@blur.prevent="removeHighlight"
23
@click="openSelect"
@@ -104,6 +104,13 @@
104
return { MdSelect }
105
},
106
computed: {
107
+ attrs () {
108
+ return {
109
+ ...this.$attrs,
110
+ name: this.name,
111
+ id: this.id
112
+ }
113
+ },
114
inputListeners () {
115
return {
116
...this.$listeners,
0 commit comments