diff --git a/src/components/controls/Autocomplete.vue b/src/components/controls/Autocomplete.vue index 5fb4ad79..b3de9974 100644 --- a/src/components/controls/Autocomplete.vue +++ b/src/components/controls/Autocomplete.vue @@ -35,6 +35,7 @@ export default { minChars: 0, maxItems: 99, sort: this.sort(), + filter: this.filter(), item: (text, input) => { const li = document.createElement('li'); li.classList.add('dropdown-item'); @@ -52,7 +53,10 @@ export default { }, sort() { - // + // return a function that handles sorting of items + }, + filter() { + // return a function that filters list suggestions based on input } } }; diff --git a/src/components/controls/Link.vue b/src/components/controls/Link.vue index 36dcf027..fa74c868 100644 --- a/src/components/controls/Link.vue +++ b/src/components/controls/Link.vue @@ -1,12 +1,18 @@