Combo box - Use case adaptation #2951
-
Component: Multiselect Combobox with max height I would like to improve or adapt the combo box to cover a massive use case. In the use case of selecting a list of representatives/agents we have the selection of a massive number, and considering the example bellow it would not be the best experience so far. I would like to propose something to provide or verify the possibility of improvising where we could have a better experience in our context of use, where there is a massive selection of a number of items from the list. Eg. Having the first selection name +2...30 Benchmark example - Google flights filter PS: This truncation would not be a problem because we would have the list explained below with the selected names. YOu can check the example bellow how it would look:
or And another question about "select all". Could we support one of the itens with a switch? or should I have an item as a "select all"? Or the Paste team has any other recommendation? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hey @cdpestitschek, the team will discuss this and get back to you very soon. Thanks for your patience! |
Beta Was this translation helpful? Give feedback.
-
Hi @cdpestitschek, It seems like you're looking for an added feature to show # of selected options without pills and to select all options. For showing the # of selected options, this was a consideration we had while building the Multiselect Combobox though it was left out of scope. We encourage your team to file a dependency request so our team can prioritize the feature in our backlog. For a "select all" feature, placing a switch inside the combobox to "select all" isn't accessible as it wouldn't be possible to focus on the element. I suggest making the first option in the list to have "select all" text instead. Let us know if you have any further questions. :) |
Beta Was this translation helpful? Give feedback.
-
@cdpestitschek Digging into this more, when you say "not the best experience", do you mean that it's easier for customers to scroll through a vertical list of options than the pills, or because it's not ideal to have the input grow in size with more pills added to it? One thing to keep in mind is that the Combobox options list also doesn't float selected items to the top like you've shown in the images you shared. The representatives' names would stay in the same position in the list regardless of whether they're selected or not. I added a ticket to our backlog for us to do a design iteration on this: https://issues.corp.twilio.com/browse/DSYS-3799 Would love to hear more context about the experience issues, though! That'll help us figure out timing + level of effort on this. Feel free to share more here, or if it's easier to talk through it, through office hours. |
Beta Was this translation helpful? Give feedback.
Hi @cdpestitschek,
It seems like you're looking for an added feature to show # of selected options without pills and to select all options.
For showing the # of selected options, this was a consideration we had while building the Multiselect Combobox though it was left out of scope. We encourage your team to file a dependency request so our team can prioritize the feature in our backlog.
For a "select all" feature, placing a switch inside the combobox to "select all" isn't accessible as it wouldn't be possible to focus on the element. I suggest making the first option in the list to have "select all" text instead.
Let us know if you have any further questions. :)