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

Feature Request: undelateable #3128

Open
cos2000 opened this issue Jan 31, 2022 · 0 comments
Open

Feature Request: undelateable #3128

cos2000 opened this issue Jan 31, 2022 · 0 comments

Comments

@cos2000
Copy link

cos2000 commented Jan 31, 2022

Is it possible to add a option in which i can give a array with values that cant be unselected by chosen?

I actualy had a case and coded a driveby to realize. Lets say we have a mulitselect with a list of values:
1: Germany
2: USA
3: Canada

When i load the site USA (value) is preselected so chosen shows it as selected. It should be possible to say: value 2 cant be deselected by chosen, because USA MUST be in the selected list!

A simple option like:

undelateable: {2}

should be a usefull option!?

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

No branches or pull requests

1 participant