diff --git a/src/components/VueBootstrapTypeaheadList.vue b/src/components/VueBootstrapTypeaheadList.vue index f404987..96f9a25 100644 --- a/src/components/VueBootstrapTypeaheadList.vue +++ b/src/components/VueBootstrapTypeaheadList.vue @@ -77,6 +77,9 @@ export default { }, matchedItems() { + + if (this.minMatchingChars === 0) return this.data + if (this.query.length === 0 || this.query.length < this.minMatchingChars) { return [] }