Skip to content

Commit 1d6eced

Browse files
hastommarcosmoura
authored andcommitted
fix(MdSelect): infinite loop error, when no v-model provided (#2035)
1 parent 05b4744 commit 1d6eced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MdField/MdSelect/MdSelect.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@
283283
let isArray = Array.isArray(this.localValue)
284284
285285
if (this.multiple && !isArray) {
286-
this.localValue = this.setLocalValueIfMultiple()
286+
this.setLocalValueIfMultiple()
287287
} else if (!this.multiple && isArray) {
288-
this.localValue = this.setLocalValueIfNotMultiple()
288+
this.setLocalValueIfNotMultiple()
289289
}
290290
},
291291
emitSelected (value) {

0 commit comments

Comments
 (0)