ricardoboss / Prolangle

A game about programming languages.
https://prolangle.ricardoboss.de
MIT License
2 stars 1 forks source link

"No results found" can be misleading #122

Closed chucker closed 2 months ago

chucker commented 8 months ago

Is your feature request related to a problem? Please describe.

The <LanguageSelection> component will say "No results found" if something isn't in the drop-down source. This can happen for two reasons:

Describe the solution you'd like

If you've already selected the language, the UI should reflect that, as it's otherwise confusing.

Additional context

I'm not sure this is easily possible. BlazoredTypeahead just invokes Search, then gives that message if that returns an empty enumerable.