Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

option to disable regex items matching #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/components/VueBootstrapTypeaheadList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 []
}
Expand Down