day8 / re-com

A ClojureScript library of reusable components for Reagent
https://re-com.day8.com.au
MIT License
798 stars 147 forks source link

Max choices in single-dropdown? #102

Closed metasoarous closed 3 years ago

metasoarous commented 7 years ago

This may be out of scope, but I would find it extremely helpful to be able to specify an option like :max-choices <int> which would limit the number of options displayed. Combined with the :filter-box? true setting, this would make it possible to work with large choice collections, without blowing up on render. I'm happy to PR if this is something you think is in scope.

Gregg8 commented 7 years ago

Yeah, would be happy to receive a PR for this. Thanks.

superstructor commented 3 years ago

As per discussion on #143 "a dropdown with hidden extra choices has poor usability, as there is no way to easily discover the extra options."

So closing.