JumpLink/angular-toggle-switch

Disabled switch still reacts on clicks

mikhailmelnik opened this issue · 1 comments

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