question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

md-radio-button Error: ApplicationRef.tick is called recursively

See original GitHub issue

Bug, feature request, or proposal:

Bug

What is the expected behavior?

An error throws when using md-radio-button

What is the current behavior?

If [checked] and (change) are used together, then I get the following error when clicking on the button:

Error: ApplicationRef.tick is called recursively

What are the steps to reproduce?

This is my usage:

<md-radio-button 
  [checked]="answer.getIn(['userAnswer', 'value'])"
  (change)="actions.toggleUserAnswer(userTest.get('questionForms'), questionForm, answer)"
>
  {{answer.get('name')}}
</md-radio-button>

Changing (change) to (click), solves the problem. md-checkbox, though works ok with (change)

Which versions of Angular, Material, OS, browsers are affected?

@angular/common”: “^2.0.0-rc.4”, “@angular2-material/core”: “^2.0.0-alpha.6”, “@angular2-material/radio”: “^2.0.0-alpha.6”,

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tinayuangaocommented, Nov 3, 2016

Can’t reproduce this issue.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 5, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Error: ApplicationRef.tick is called recursively
Another working solution for me: use ChangeDetectorRef instead of ApplicationRef constructor(private ref:ChangeDetectorRef) ...
Read more >
md-radio-button Error: ApplicationRef.tick is called recursively
Coming soon: A brand new website interface for an even better experience!
Read more >
EXCEPTION: ApplicationRef.tick is called recursively #7693
When I use external scripts, I have to run manually tick method to check for app changes. For example facebook login: FB.login(response ...
Read more >
Boosting performance of Angular applications with manual ...
Angular to detect the changes puts a wrapper on Zone.js called NgZone to enable run ... throw new Error('ApplicationRef.tick is called recursively');
Read more >
Angular Error: ApplicationRef.tick is called recursively - iTecNote
tick is called recursively. angularjavascript. I am successfully emitting Event explicitly by running another change detection process outside Zone JS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found