orizens / ngx-typeahead

A simple but yet powerful typeahead component for Angular (css framework agnostic)
https://www.npmjs.com/package/ngx-typeahead
MIT License
61 stars 29 forks source link

How can I give a custom search functionality #37

Open jintoppy opened 5 years ago

jintoppy commented 5 years ago

Currently, it searches for text everywhere. Instead of that, I want to do a filter with startsWith check.

How can I do that?

rocketpants8 commented 5 years ago

Probably too late for you now, but I've just implemented this, and submitted a PR for inclusion into this project