diff options
-rw-r--r-- | autocomplete.js | 1 |
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() { |