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

Selector filter not rendering suggestions filter if passed via filterKeys #1402

Open
silvester-pari opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working itemfilter

Comments

@silvester-pari
Copy link
Collaborator

When using an external filter, it is possible to pass the filter suggestions via filterKeys instead of from the items. Unfortunately, this doesn't render the suggestion filter as it normally does if set via items:

Via items

image

Via filterKeys

image

The problem is that the filterKeys only set filteredSuggestions, but the suggestions filter is only rendered if there are more than 10 suggestions.

Expected behavior

No matter if the suggestions are set via items or via filterKeys, the suggestions filter should always show (if there are more than 10 suggestions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working itemfilter
Projects
None yet
Development

No branches or pull requests

2 participants