We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
md-selected
localValue
1 parent 40406af commit 023723aCopy full SHA for 023723a
src/components/MdField/MdSelect/MdSelect.vue
@@ -113,8 +113,9 @@
113
watch: {
114
localValue: {
115
immediate: true,
116
- handler () {
+ handler (val) {
117
this.setFieldContent()
118
+ this.emitSelected(val)
119
}
120
},
121
multiple: {
@@ -207,11 +208,9 @@
207
208
} else {
209
this.localValue = this.arrayAccessorRemove(this.localValue, index)
210
- this.emitSelected(this.localValue)
211
212
setValue (newValue) {
213
this.model = newValue
214
- this.emitSelected(newValue)
215
this.setFieldValue()
216
this.showSelect = false
217
0 commit comments