-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrap switch check box is not display ON when I have refreshed the page with value TRUE #709
Comments
JigneshPatel04
changed the title
bootstrap switch check box is not working when I have true value
bootstrap switch check box is not display ON when I have refreshed the page with value TRUE
Jul 15, 2019
Duplicates #703 |
Solved here with this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
<script> $("[name ='approved']").bootstrapSwitch(); // I have set value in database when checkbox on/off $(document).ready(() => { $("[name ='approved']").on("switchChange.bootstrapSwitch", function (e, data) { }); }); </script><input data-id="{{id}}" type="checkbox" {{#if approved}} checked {{/if}} name="approved">
The text was updated successfully, but these errors were encountered: