KazanExpress / vue-simple-suggest

Feature-rich autocomplete component for Vue.js
https://kazanexpress.github.io/vue-simple-suggest/
MIT License
461 stars 74 forks source link

Example with :filter #498

Open ruralcoder opened 3 years ago

ruralcoder commented 3 years ago

I'm submitting a ...

What is the current behavior?

<vue-simple-suggest v-model="chosen" display-attribute="name" value-attribute="id" :filter-by-query="true" :filter="customFilter" :list="getSuggestionList" :debounce=10 autofocus

I have a method called customFilter but it is never called. I could not find an example of using :filter

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

How are you importing Vue-simple-suggest?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

ruralcoder commented 3 years ago

Issue of not being called was bad JSON which did not show up anywhere as warning/error.

A good example with fuzzy matching would still be nice!