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

Adding option to disable local search #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JoshJuncker
Copy link

I ran into the issue where I was searching/filtering the mentions data via remote http calls, and then updating state with the newly filtered data. However, the library then also filters the data using some string matching. The issue is that we allow searching by more than just the display value, and so results coming from our remote search wouldn't show up in the list because the library filtered them out.

This adds a 'disableLocalSearch' option that skips the local searching/filtering if it is true. It defaults to false for backwards compatibility.

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

Successfully merging this pull request may close these issues.

1 participant