md-radio-button Error: ApplicationRef.tick is called recursively
See original GitHub issueBug, 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:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can’t reproduce this issue.
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.