diff --git a/src/components/select/select.vue b/src/components/select/select.vue index d0d6fe0..6229e6f 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -593,6 +593,10 @@ this.$nextTick(() => { this.broadcastQuery(''); }); + } else { + this.findChild(child => { + child.selected = this.model.indexOf(child.value) > -1; + }); } this.slotChange(); this.updateOptions(true, true); @@ -603,6 +607,10 @@ this.$nextTick(() => { this.broadcastQuery(''); }); + } else { + this.findChild(child => { + child.selected = this.model.indexOf(child.value) > -1; + }); } this.slotChange(); this.updateOptions(true, true); @@ -670,6 +678,11 @@ } else { this.$refs.input.select(); } + if (this.remote) { + this.findChild(child => { + child.selected = this.model.indexOf(child.value) > -1; + }); + } } this.broadcast('Drop', 'on-update-popper'); } else { -- libgit2 0.21.4