bootstrap-switch
bootstrap-switch copied to clipboard
Label's click in readonly switch
Hi,
I found a small bug:
When you have a readonly switch with a label associated to it and you do a click over the label then the switch change her value.
To workaround the problem you need unset the "for" attribute of the label.
Thanks :)
@PSF1 Thank you for this! I know this comment/issue is old, but it was helpful. We were experiencing the same issue in our application and removing the for attribute fixed the label from toggling the input.