-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Hi there,
Thanks for making such a versatile component for react. I am working with the multiselect version of react-select and would like to summarize all of the selected options after a given number. In our UI, the select starts to take up too much space once there are more than four options selected.
After that I would like the select text to just say "7 out of 14 selected" or "All except 'USA'" or "Canada, USA" when there are less than x items. Have you thought about this as an option? I am planning on forking the repo and then making a pull request when it is ready. I have two thoughts, I could either extend the options to include a "valuesRenderer" that would give the user all of the values instead of one value at a time. As I'm thinking about this more I don't know if it would be enough perhaps exposing a new option would be better because the solution really does touch more than the valuesRenderer function. Here's a mockup of what I'm thinking:
Let me know if you have any feedback on this approach or just your thoughts about this feature.
Thanks.
