summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autocomplete.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/autocomplete.js b/autocomplete.js
index 90629a2..dc95a1b 100644
--- a/autocomplete.js
+++ b/autocomplete.js
@@ -46,6 +46,7 @@ class Autocomplete {
setData(data) {
this.options.data = data;
+ this.renderIfNeeded();
}
renderIfNeeded() {