g1.urlfilter does not work for checkboxes
<li class="state_dropdown" filter-name="state_level" data-val="Odisha">
<label class="custom-control custom-checkbox h5 mb-0 text-nowrap cursor-pointer">
<input type="checkbox" class="custom-control-input urlfilter" data-mode="toggle" data-target="#" checked>
<span class="custom-control-label"></span>
<span class="custom-control-description sm2">Odisha</span>
</label>
</li>
is expected to update url and also, toggle the state of checkbox. It does neither.
g1.urlfilter's e.preventDefault
intrudes bootstrap checkbox events.
Possible solutions:
Apply preventDefault only for anchor tags.
if(e.target.tagName.toLowerCase() === 'a') {
e.preventDefault()
}
raised by @naveen.manukonda
Edited by Tejesh