gitbrent / bootstrap4-toggle

Bootstrap 4 Switch Button / Toggle
https://gitbrent.github.io/bootstrap4-toggle/
MIT License
213 stars 67 forks source link

Readonly atribute is ignored #64

Open CribAd opened 3 years ago

CribAd commented 3 years ago

I want to use the readonly-attribute on the checkbox, but when I do, I still can toggle the checkbox. I cannot use d'disabled' instead, because then the property is not included in the post of the form.

How to use readonly on Bootstrap4-Toggle?

palcarazm commented 2 years ago

Hi @CribAd ,

I've released a new version for bootstrap 4 and bootstrap 5 in palcarazm/bootstrap5-toggle that support readonly attribute.

CribAd commented 2 years ago

Thanks.