switchery icon indicating copy to clipboard operation
switchery copied to clipboard

Switchery ignores dynamically added disabled attribute

Open Bundas opened this issue 8 years ago • 2 comments

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

Bundas avatar Feb 12 '17 10:02 Bundas

It even doesnt work when i use "disable()" function or when i do it in jquery way

Bundas avatar Feb 12 '17 11:02 Bundas

Line 1940: comment //if (this.options.disabled) return; and it will work

delcon avatar Feb 20 '17 12:02 delcon