Merge pull request #6029 from marlonbahniuk/fix-autocomplete-multiple-dropdown
Fix combination of multiple and dropdownpull/6101/head
commit
fab0c62dd5
|
@ -511,8 +511,10 @@ export default {
|
||||||
if (this.overlayVisible) {
|
if (this.overlayVisible) {
|
||||||
this.hide(true);
|
this.hide(true);
|
||||||
} else {
|
} else {
|
||||||
focus(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
|
let target = this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el;
|
||||||
query = this.$refs.focusInput.$el.value;
|
|
||||||
|
focus(target);
|
||||||
|
query = target.value;
|
||||||
|
|
||||||
if (this.dropdownMode === 'blank') this.search(event, '', 'dropdown');
|
if (this.dropdownMode === 'blank') this.search(event, '', 'dropdown');
|
||||||
else if (this.dropdownMode === 'current') this.search(event, query, 'dropdown');
|
else if (this.dropdownMode === 'current') this.search(event, query, 'dropdown');
|
||||||
|
|
Loading…
Reference in New Issue