We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a91a00 commit 0d04021Copy full SHA for 0d04021
src/components/autocomplete/QAutocomplete.vue
@@ -54,6 +54,10 @@ export default {
54
type: Number,
55
default: 500
56
},
57
+ filter: {
58
+ type: Function,
59
+ default: filter
60
+ },
61
staticData: Object,
62
separator: Boolean
63
@@ -110,7 +114,7 @@ export default {
110
114
111
115
if (this.staticData) {
112
116
this.searchId = ''
113
- this.results = filter(terms, this.staticData)
117
+ this.results = this.filter(terms, this.staticData)
118
if (this.$q.platform.is.desktop) {
119
this.selectedIndex = 0
120
}
0 commit comments