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

Pass query to searchFilter option handler #337

Closed
wants to merge 1 commit into from

Conversation

silane
Copy link

@silane silane commented May 10, 2023

Pass current search query to searchFilter option handler, because it is not possible to do filtering without search query.

searchFilter(option, query) {
  return option.label.endsWith(query)
}

@xibman
Copy link

xibman commented Jun 13, 2023

👍 for this one

@adamberecz
Copy link
Collaborator

Thank you @silane - this will be implemented in the next version with additional arg.

@adamberecz adamberecz closed this Oct 6, 2023
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.

3 participants