diff options
-rw-r--r-- | autocomplete.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autocomplete.js b/autocomplete.js index 1d3be4a..3350108 100644 --- a/autocomplete.js +++ b/autocomplete.js @@ -50,6 +50,7 @@ class Autocomplete { setData(data) { this.options.data = data; + this.renderIfNeeded(); } renderIfNeeded() { |