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

$viewChangeListeners are not called when the model change #146

Open
jvanhees opened this issue Jul 29, 2016 · 0 comments
Open

$viewChangeListeners are not called when the model change #146

jvanhees opened this issue Jul 29, 2016 · 0 comments

Comments

@jvanhees
Copy link

The functions in the $viewChangeListeners are not called, only when selecting the last checkbox. Now this behaviour originates from the use of ng-repeat, but I think we should be able to solve this in 'checklist-model'. The $viewChangeListeners are invoked when $setViewValue is called to change the view value, which currently isn't used in the directive.

Fiddle highlighting the issue (and also shows the issue with ng-repeat and radio buttons):

https://jsfiddle.net/TheJVH/cbdwwhmp/9/

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

1 participant