Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(typeahead): custom filter function #479

Open
hdcos opened this issue May 3, 2016 · 5 comments
Open

feat(typeahead): custom filter function #479

hdcos opened this issue May 3, 2016 · 5 comments

Comments

@hdcos
Copy link

hdcos commented May 3, 2016

Hello how can I execute a custom filter (search) function with the typeahead component?

@Dinistro
Copy link
Contributor

Currently it's not possible to override the matching mechanism of the typeahead directive. But out of my view it should be possible to do this.

@valorkin valorkin added the WIP label Jan 19, 2017
@IlyaSurmay IlyaSurmay changed the title typeahead custom filter function feat(typeahead): custom filter function Nov 10, 2017
@hillj1895
Copy link

Any update on this issue?

@Jerome2606
Copy link

I need this as well.
The default search is not enought "smart", I'm looking to implement a scoring algorithm like https://github.com/jeancroy/FuzzySearch

Any news ?

@hillj1895
Copy link

@Jerome2606 I ended up using typeAheadAsync. See here. You can specify your own function in there and use of() to create the observable it wants.

@Jerome2606
Copy link

Ok thanks I will do it the same way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants