angular-toggle-switch icon indicating copy to clipboard operation
angular-toggle-switch copied to clipboard

Disabled switch still reacts on clicks

Open mikhailmelnik opened this issue 10 years ago • 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.

mikhailmelnik avatar Nov 18 '15 01:11 mikhailmelnik

I do also noticed that disabled do not work. ng-disabled directive should be there

djsharma avatar Dec 17 '15 10:12 djsharma