aboutsummaryrefslogtreecommitdiff
path: root/autocomplete.js
diff options
context:
space:
mode:
Diffstat (limited to 'autocomplete.js')
-rw-r--r--autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/autocomplete.js b/autocomplete.js
index fd79b36..169d3ed 100644
--- a/autocomplete.js
+++ b/autocomplete.js
@@ -76,7 +76,7 @@ class Autocomplete {
label = item.label;
}
- if (this.options.displayLabelWithValue) {
+ if (this.options.showValue) {
label += ` ${item.value}`;
}