Suggestion: Add "+N more selected" Feature to v-combobox #21641
Unanswered
vinodpatidar2020
asked this question in
Ideas
Replies: 1 comment
-
Doing it based on fixed selection count is trivial, but also limits the utility. There was one brave soul that started the topic (#21269) for dynamically calculating visible chips based on available space so they fit in one line. The main challenge is to avoid performance issues when resizing the form element. The last demo shared there unfortunately suffers from a heavy stutter while resizing form item and throttling did not help much. You are welcome to pick it up and experiment :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
Thank you for creating such a helpful component library!
I have a suggestion regarding the v-combobox or any component that supports multi-selection. It would be great to have a configurable option to limit the number of visible selected items (e.g., show only 1 by default), with the rest summarized as “+N more selected” — similar to how it's implemented in vue-multiselect.
This would be especially useful in scenarios where the component is used within a limited-size container, as displaying all selected items can lead to overflow issues.
I'm not sure if such a configuration already exists, but I wanted to share the idea in case it's something you’d consider adding.
Beta Was this translation helpful? Give feedback.
All reactions