Open-EO / openeo-hub

Source code for openEO Hub, a centralized platform to explore openEO back-end providers.
https://hub.openeo.org
Apache License 2.0
8 stars 3 forks source link

Only order suggestions by count when search is empty #44

Open christophfriedrich opened 4 years ago

christophfriedrich commented 4 years ago

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 commented 4 years ago

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.