-
Notifications
You must be signed in to change notification settings - Fork 156
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
Deselect not possible for single selection #37
Comments
@MarcDD I have verified that this works, check the link in the previous comment. |
jQuery(function($){
}, function (data) {
},{"allow_single_deselect": true ,no_results_text: "Oops, nothing found!"} );
this is not working.... "allow_single_deselect": true ,no_results_text: "Oops, nothing found!" |
I can't get this to work either!.. with same field I try just using .chosen({ allow_single_deselect:true }) and that works, but not with ajaxChosen |
Oops it DOES work. I had to put the extra chosen JSON as an additional field. I was appending it to the ajaxChosen options in first argument which wasn't working. |
@wejrowski Could you please post a full example? I also have problems, this problem is driving me nuts... What I have now is this:
|
Choosen nicely supports deselection in single select mode. You only have to ensure that the first option tag is empty. Unfortunately, this no longer works with ajax-choosen.
It would be great if that was included.
The text was updated successfully, but these errors were encountered: