Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled switch still reacts on clicks #23

Open
mikhailmelnik opened this issue Nov 18, 2015 · 1 comment
Open

Disabled switch still reacts on clicks #23

mikhailmelnik opened this issue Nov 18, 2015 · 1 comment

Comments

@mikhailmelnik
Copy link

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.

@djsharma
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants