angular-toggle-switch
angular-toggle-switch copied to clipboard
Disabled switch still reacts on clicks
Seems like scope.onChange(); from line 50 should be moved inside the check for disabled state. At the moment even if I make switch disabled it still toggles ng-model value. Also disabled switches still have focused border.
I do also noticed that disabled do not work. ng-disabled directive should be there