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/023723a below:

emit `md-selected` event after `localValue` changed (#… · vuematerial/vue-material@023723a · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-3

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-3

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

@@ -113,8 +113,9 @@

113 113

watch: {

114 114

localValue: {

115 115

immediate: true,

116 -

handler () {

116 +

handler (val) {

117 117

this.setFieldContent()

118 +

this.emitSelected(val)

118 119

}

119 120

},

120 121

multiple: {

@@ -207,11 +208,9 @@

207 208

} else {

208 209

this.localValue = this.arrayAccessorRemove(this.localValue, index)

209 210

}

210 -

this.emitSelected(this.localValue)

211 211

},

212 212

setValue (newValue) {

213 213

this.model = newValue

214 -

this.emitSelected(newValue)

215 214

this.setFieldValue()

216 215

this.showSelect = false

217 216

},

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