Commit 9ca6671c71f9771a92c60f723c7589f3fd2285e8

Authored by Sergio Crisostomo
1 parent b6c069ca

Check for selected label before reassignment

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/select/select.vue
... ... @@ -589,7 +589,7 @@
589 589 const [selectedOption] = this.values;
590 590 if (selectedOption && this.filterable && !this.multiple && !focused){
591 591 const selectedLabel = selectedOption.label || selectedOption.value;
592   - if (this.query !== selectedLabel) {
  592 + if (selectedLabel && this.query !== selectedLabel) {
593 593 this.preventRemoteCall = true;
594 594 this.query = selectedLabel;
595 595 }
... ...