Angular2 material dialog has issues - Did you add it to @NgModule.entryComponents?

前端 未结 11 2246
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 06:37

I am trying to follow the docs on https://material.angular.io/components/component/dialog but I cannot understand why it has the below issue?

I added the below on my

11条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 06:40

    I had the same issues and i had dialogComponent in EntryComponents and it still did not work. this is how I was able to solve the problem. the link is here to a previously answered post:

    https://stackoverflow.com/a/64224799/14385758

提交回复
热议问题