Josh-Hicks/NBA-team-app

ExpressionChangeAfterItHasBeenCheckedError

Opened this issue · 0 comments

Not sure if this is an issue with Angular Material, but when you change the submit button tag in team.component.html from 'mat-button-raised' to 'mat-raised-button' per the documentation (https://material.angular.io/components/button/overview), you get the classic 'ExpressionChangeAfterItHasBeenCheckedError' error when adding a player.

Not sure if this is an issue with the code because it doesn't happen with a standard html button. The functionality still works the same as a normal html button, just getting the console error.