Veerendra Annigere

Veerendra Annigere

  • NA
  • 2.7k
  • 654.9k

Angular material design dialog , it gives this error on open

May 28 2019 12:30 AM
MatDialogContainer_Host.ngfactory.js? [sm]:1 ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'id: undefined'. Current value: 'id: mat-dialog-2'. It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?
at viewDebugError (core.js:20440)
at expressionChangedAfterItHasBeenCheckedError (core.js:20428)
at checkBindingNoChanges (core.js:20530)
at checkNoChangesNodeInline (core.js:23401)
at checkNoChangesNode (core.js:23390)
at debugCheckNoChangesNode (core.js:23994)
at debugCheckRenderNodeFn (core.js:23948)
at Object.eval [as updateRenderer] (MatDialogContainer_Host.ngfactory.js? [sm]:1)
at Object.debugUpdateRenderer [as updateRenderer] (core.js:23937)
at checkNoChangesView (core.js:23291)

Answers (1)