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

Add the possibility to have disabled (non selectable) items #110

Open
opncow opened this issue Dec 22, 2013 · 2 comments
Open

Add the possibility to have disabled (non selectable) items #110

opncow opened this issue Dec 22, 2013 · 2 comments

Comments

@opncow
Copy link

opncow commented Dec 22, 2013

It would be nice to be able to have disabled (non selectable) items in the ChosenListBox.

@jDramaix
Copy link
Contributor

Disabled option are simply hidden

@jDramaix
Copy link
Contributor

I wouldn't close this issue. I think it is valid. For the time being the disabled items are hidden (and even removed) but we should give the ability to the developer to show them. The disabled options should have a specific css class name in order to differentiate them visually and they shouldn't be selectable.

Chosen has implemented this behavior: http://harvesthq.github.io/chosen/#selected-and-disabled-support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants