switchery
switchery copied to clipboard
Switchery ignores dynamically added disabled attribute
If I manually set switchery checkbox as disabled, it works fine. It's disabled. But when I do it in angular way - ngDisabled='property', nothing happens. I can see in page inspector that there is 'disabled' attribute. It should work properly. So, why it doesnt? Is there any way to 'reboot' the checkbox?:D
It even doesnt work when i use "disable()" function or when i do it in jquery way
Line 1940: comment
//if (this.options.disabled) return;
and it will work