A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/commit/9fde310 below:

pass props id and name as pure html attributes (#1583) · vuematerial/vue-material@9fde310 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+8

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+8

-1

lines changed Original file line number Diff line number Diff line change

@@ -17,7 +17,7 @@

17 17

:required="required"

18 18

:placeholder="placeholder"

19 19

v-on="inputListeners"

20 -

v-bind="$attrs"

20 +

v-bind="attrs"

21 21

@focus.prevent="onFocus"

22 22

@blur.prevent="removeHighlight"

23 23

@click="openSelect"

@@ -104,6 +104,13 @@

104 104

return { MdSelect }

105 105

},

106 106

computed: {

107 +

attrs () {

108 +

return {

109 +

...this.$attrs,

110 +

name: this.name,

111 +

id: this.id

112 +

}

113 +

},

107 114

inputListeners () {

108 115

return {

109 116

...this.$listeners,

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4