erhanfirat / combo-tree

ComboTree is a jQuery Plugin which is a combobox item with tree structured data list and multi/single selection options and more.
MIT License
79 stars 67 forks source link

reset #9

Closed mikialey closed 4 years ago

mikialey commented 5 years ago

hi. i would like reset clear but i have bug. i try it. compartments is array with all ids

compartments.forEach(function(element) { $(input[data-id="${element}"]).prop('checked',false); }); compartments = new Array(); $('#form_compartments').val('');

bug keep in memory the choice

thanks

erhanfirat commented 5 years ago

Select All and Deselect All functions will be added, soon.

erhanfirat commented 4 years ago

You can user clearSelectionmethod. Thanks...