-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Error using reverse (ExpressionChangedAfterItHasBeenCheckedError) #47
Comments
Could you show how |
First of all doing <div *ngFor="let team of gameProvider.game.teams | orderBy: 'points': true">
{{ team | json }}
</div> |
I also tried that but same error. Using Angular 5 with Ionic 3 if that matters |
@VadimDez any update on this? This might help: https://blog.angularindepth.com/everything-you-need-to-know-about-the-expressionchangedafterithasbeencheckederror-error-e3fd9ce7dbb4 I also tried it out with a different model and it works (?) |
Solved using this way:
|
<ion-card *ngFor="let team of gameProvider.game.teams | orderBy: 'team.points':true; let i = index">
These values are in
team.title
. The content inside the html is empty, I'm not displaying anything yetThe text was updated successfully, but these errors were encountered: