Page 1 of 1

How to de-select items in a multi-select list

Posted: Fri May 09, 2014 1:54 pm
by Bob Fludder

I have a select list and I am using more properties to make it multi-select (multiple multiple). That works fine but when I first display the list I don't want any selected but the first item is always selected by a check box. I have worked out how to clear the selected list that displays but not the check box. I'm thinking I can use something like "multiselect("uncheckAll")" but am not sure of the full syntax where the select list is called model_list. I'm a little confused with it because it is a select list and I find that it has a "checked" property in it from somewhere (or is that how jquery handles a multi select list ?) Can you help please ? or should I turn it into a check box group ? I should note though that the list is built from a rest service. Hope all that makes sense.


How to de-select items in a multi-select list

Posted: Fri May 09, 2014 3:41 pm
by Kateryna Grynko

Hi Bob,

Not sure how to do this. Hope this link will be helpful:
https://github.com/harvesthq/chosen/i...