Check for selected label before reassignment
This commit is contained in:
parent
b6c069ca9d
commit
9ca6671c71
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@
|
|||
const [selectedOption] = this.values;
|
||||
if (selectedOption && this.filterable && !this.multiple && !focused){
|
||||
const selectedLabel = selectedOption.label || selectedOption.value;
|
||||
if (this.query !== selectedLabel) {
|
||||
if (selectedLabel && this.query !== selectedLabel) {
|
||||
this.preventRemoteCall = true;
|
||||
this.query = selectedLabel;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue