Open JigneshPatel04 opened 5 years ago
Duplicates #703 It appears to work at v3.3.4 and breaks in v3.3.5.
Solved here with this:
$(function() {
$('[data-switch="true"]').each(function () {
$(this).bootstrapSwitch({ state: $(this).is(':checked') }).trigger('change');
});
});
I have used bootstrap-switch for display checkbox on/off It is working when I have switched on or off but when I have get value from database and I assigned value checked on input checked box then it is not display on.
checkbox <input data-id="{{id}}" type="checkbox" {{#if approved}} checked {{/if}} name="approved">