Is there a way to specify the number of selected options you want see in the input and after that number is reached show something like "5 selected".
Thanks!
Please check the documentation (particularly maxItems).
Hi - maxItems and maxOptions only effect the items in the dropdown - I'm looking for a way to limit the number of items in the INPUT itself after selections are made so you don't see 12 items in the input but instead would see "12 items selected"...I don't see any options for this in the documentation but was hoping there was maybe a workaround out there
Hey, I found this question, because I have the same problem within an R Shiny Dashboard.
It was closed without giving an answer. However it was closed some time ago.
Is there a good solution meanwhile?
Thank you in advance!
Hi. How was this issue/request resolved?
I am looking for the same - to limit the number of selected items in an input box.
Same thing here (actually trying to use it also on a Shiny dashboard too). When the number of selected elements becomes too large and the page starts to fill up this feature would certainly be very useful.
Most helpful comment
Hi - maxItems and maxOptions only effect the items in the dropdown - I'm looking for a way to limit the number of items in the INPUT itself after selections are made so you don't see 12 items in the input but instead would see "12 items selected"...I don't see any options for this in the documentation but was hoping there was maybe a workaround out there