alexurquhart / vue-bootstrap-typeahead

An autocomplete/typeahead component for Vue 2 and Bootstrap 4
https://alexurquhart.github.io/vue-bootstrap-typeahead/
MIT License
206 stars 157 forks source link

Add showAll option to show all data #45

Open zigman79 opened 5 years ago

zigman79 commented 5 years ago

I am using axios to update my listentries. I am searching a database with names. Sometimes i want to be able to search for part of the names e.g. "FirstNa LastNa" returns "FirstName Lastname" also. But it does not Match the querystring in the inputfield anymore, so typeahead does not display the (valid) response. I added an option "showAll" which is false as default. When switched "on" typeahead will display all responses in the list.

hope this helps somebody if needed.

web-west commented 5 years ago

👍

mattzollinhofer commented 4 years ago

I merged this into my fork (https://github.com/mattzollinhofer/vue-typeahead-bootstrap) of this project and published it to npm rebranded as vue-typeahead-bootstrap (to avoid collisions). https://www.npmjs.com/package/vue-typeahead-bootstrap. I hope this helps other to continue to use this tool. Thanks for the PR!