diff --git a/dist/vue-typeahead.common.js b/dist/vue-typeahead.common.js index a76e199..633bf79 100644 --- a/dist/vue-typeahead.common.js +++ b/dist/vue-typeahead.common.js @@ -100,6 +100,7 @@ exports.default = { cancel: function cancel() {}, reset: function reset() { this.items = []; + this.current = -1; this.query = ''; this.loading = false; }, diff --git a/src/main.js b/src/main.js index 461ea69..fcd0d6d 100644 --- a/src/main.js +++ b/src/main.js @@ -84,6 +84,7 @@ export default { reset () { this.items = [] + this.current = -1 this.query = '' this.loading = false },