This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$viewChangeListeners not called with <input type="radio"> #15696
Closed
Description
Bug report
How to reproduce
- Open the following jsfiddle: http://jsfiddle.net/ADukg/10031
- Click the button
- Tick the second radio checkbox
- Tick the first radio checkbox
What is the current behavior?
An alert appears ONLY after step 3.
What is the expected behavior?
An alert should appear after step 3 and 4.
The functions specified in $viewChangeListeners
should be called every time the view value changes, as stated in the documentation
Which versions of AngularJS, and which browser / OS are affected by this issue?
The fiddle demonstrates the bug with the latest snapshot of angular.
Tested in both firefox and chrome.
Other information (e.g. stacktraces, related issues, suggestions how to fix)
The issue was reported here on stackoverflow: http://stackoverflow.com/questions/34703156/only-last-radio-button-triggers-viewchangelistener