Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michalchrzastek opened this issue Feb 19, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@michalchrzastek
Copy link

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
Copy link
Contributor

rpokrovskij commented Feb 19, 2020

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
Copy link
Author

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
Copy link
Contributor

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.

@rpokrovskij rpokrovskij added the enhancement New feature or request label Feb 20, 2020
@rpokrovskij rpokrovskij changed the title limit size of input picks visualized with number selected ( check davidstutz.de/bootstrap-multiselect numberDisplayed option) Feb 20, 2020
@rpokrovskij rpokrovskij changed the title picks visualized with number selected ( check davidstutz.de/bootstrap-multiselect numberDisplayed option) picks visualized just with number ( check davidstutz.de/bootstrap-multiselect numberDisplayed option) Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants