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

Only order suggestions by count when search is empty #44

Open
christophfriedrich opened this issue Dec 20, 2019 · 1 comment
Open

Only order suggestions by count when search is empty #44

christophfriedrich opened this issue Dec 20, 2019 · 1 comment

Comments

@christophfriedrich
Copy link
Collaborator

When you open the component and don't know what to do, ordering by count is helpful to see the most popular options first. But when you type a search query it's more convenient to see the results in an alphabetical order.

(Idea originally came up in #38)

@christophfriedrich
Copy link
Collaborator Author

I guess this is rather easy (setting some prop of the Multiselect component depending on whether there's already input or not should do the trick), so I dared to add the corresponding label.

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

2 participants