Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

ng-model on <input type='checkbox' doesn't set class 'ng-dirty' #569

Closed
zoechi opened this issue Feb 14, 2014 · 0 comments
Closed

ng-model on <input type='checkbox' doesn't set class 'ng-dirty' #569

zoechi opened this issue Feb 14, 2014 · 0 comments
Milestone

Comments

@zoechi
Copy link
Contributor

zoechi commented Feb 14, 2014

I have a checkbox (<input type='checkbox' ng-model='ctrl.someState'>) where the class 'ng-pristine' is set initially.
When I check/uncheck the checkbox 'ng-pristine' should be updated to 'ng-dirty'
(I hope my assumptions about this are right - it works for text, number, url, email though)
but the class doesn't change.

The model value (ctrl.someState) gets changed.

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

Successfully merging a pull request may close this issue.

4 participants