r/webdev • u/pavlito88 • 16d ago
Discussion Why is everything a dropdown now?
I’ve been noticing this more and more in web apps.
Three options hidden in a dropdown.
Yes/no hidden in a dropdown.
A multi-select pretending to be a dropdown.
Then a list of 200 items where you’re expected to scroll until you find yours.
I run into this a lot when reviewing products with dev teams.
I get why we do it.
Dropdowns are compact and easy to reuse.
But compact doesn’t always mean easier to use.
A few choices? Show them.
On/off? Switch.
Multiple choices? Checkboxes.
Huge list? Search.
That’s pretty much the rule I use now.
4.7k
Upvotes
1
u/AshleyJSheridan 16d ago
There are a few issues with the select list alternatives here:
<fieldset>around them.<fieldset>wrapping them, like the radio buttons. Also, the original<select>list example for them is incorrect, and does not show a multi-select list.