Skip to content
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
@lovasoa

Description

@lovasoa

Bug report

How to reproduce

  1. Open the following jsfiddle: http://jsfiddle.net/ADukg/10031
  2. Click the button
  3. Tick the second radio checkbox
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions