aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsp00n <sp.00.n@gmx.net>2021-05-20 23:59:55 +0200
committerGitHub <noreply@github.com>2021-05-20 23:59:55 +0200
commitce7994b85dc3208c5138de3196bdba21fafdd521 (patch)
tree9df044b611368e4e855ffc41642bf4fe4feb0c21
parent5b499555fac1be9343bc7ca4d580bcafe2ca141a (diff)
Forgot one showValue
-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}`;
}