DashboardCode / BsMultiSelect

BsMultiselect is "multiselect input" plugin that reuses your Bootstrap 4 theme and doesn't bring its own css (unless you would like to add it).
https://dashboardcode.github.io/BsMultiSelect/
Apache License 2.0
107 stars 29 forks source link

picks visualized just with number ( check davidstutz.de/bootstrap-multiselect numberDisplayed option) #19

Open michalchrzastek opened 4 years ago

michalchrzastek commented 4 years ago

Hi,

Your MultiSelect is best looking one I've seen. Bootstrap team should take it in as default.

Do you have a similar option like this

http://davidstutz.de/bootstrap-multiselect/

Where it shows number of selected or 'ALL' when all selected, to limit the size of SELECT element?

Thanks

rpokrovskij commented 4 years ago

Thank you. I am most hapy about its integration with keyboard, but this is very specific requirement for web app.

Do you mean limit number of selected elements? E.g. no more than 5? Yes it is possible with a little customization. I can create a snipped to demonstrate it. But there are many variations: "allow to select sixth, but set invalid status" or "not allow it 'silently' " or "not allow it with popup'.

michalchrzastek commented 4 years ago

No, sorry. I forgot to mention this is not an issue it’s a feature request.

User can select any, all or none, but the SELECT input should show only a number of selected. See the link of David’s multi select behaviour. Thanks

rpokrovskij commented 4 years ago

I think you mean David's numberDisplayed option. Unfortunetly not, but It is interesting for me to change the API to support such customizations. So I will have it in mind for future versions.