-
-
Notifications
You must be signed in to change notification settings - Fork 233
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
Disable search engine, because correct results are coming from BE #307
Comments
I found out how to do this. If I dont use any keys, use the searchEngine parameter and return the whole object. obj.searchEngine = (q, r) => r; |
can you post the whole code? I want to disable search engine and display results as is. also I need to cleanup everything to do with search engine. The api I'm calling does the search already. Is there a simplified version of the autoComplete? |
Only like this;
|
thanks for your response. I ended up doing it like the below:
it worked but I have few questions: |
Hello, I'd like to disable the search engine entirely, so all items coming from the BE is shown. But I can't find a way to go around this, since I have to specify keys. When I do this, the "autoComplete.js" search engine displays the results in another order, and not grouped together if there are more matches than in one place.
So my request is to disable the searchEngine. Maybe a suitable way to do so is to not use the keys parameter at all, together with data.src is objects?
The text was updated successfully, but these errors were encountered: