From 9ca6671c71f9771a92c60f723c7589f3fd2285e8 Mon Sep 17 00:00:00 2001 From: Sergio Crisostomo Date: Sat, 14 Apr 2018 09:22:57 +0200 Subject: [PATCH] Check for selected label before reassignment --- src/components/select/select.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index baf5a6f..6f1abec 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -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; } -- libgit2 0.21.4