Closed mikialey closed 4 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('');
input[data-id="${element}"]
bug keep in memory the choice
thanks
Select All and Deselect All functions will be added, soon.
You can user clearSelectionmethod. Thanks...
clearSelection
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