Skip to content
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

has conflict with material-table-component #2398

Closed
shenchaoran opened this issue Nov 4, 2018 · 5 comments
Closed

has conflict with material-table-component #2398

shenchaoran opened this issue Nov 4, 2018 · 5 comments

Comments

@shenchaoran
Copy link

shenchaoran commented Nov 4, 2018

Version

1.8.0

Environment

angular: 7.0.2, material: 7.0.2, ng-zorro-antd: 1.8.0

Reproduction link

https://stackblitz.com/edit/ng-material-starter

Steps to reproduce

Import NgZorroAntdModule, use material-table with the directive like <tr mat-header-row></tr> got error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered.

It means don't know the directive of mat-header-row.

What is expected?

don't conflict with material

What is actually happening?

can't use material and zorro simultaneously.

Other?

@vthinkxie
Copy link
Member

ng-zorro-antd now depends on material: 6.x
we will release new version the end of this month.

@shenchaoran
Copy link
Author

@vthinkxie still conflict, please find here.
versions:

angular: 7.0.2
material: 7.0.2
ng-zorro-antd: 7.0.0-rc.1

NzTableModule of ng-zorro-antd has conflict with MatTableModule of material

@vthinkxie vthinkxie self-assigned this Feb 26, 2019
@chitayta
Copy link

Hi, any update for this ticket?

If I import the whole library, I will get the same issue.
Versions: Angular 7.2.9, Material 7.3.4, ng-zorro-antd: 7.0.3

image

Thanks

@wzhudev
Copy link
Member

wzhudev commented Apr 15, 2019

Will be closed by #3234.

@vthinkxie vthinkxie removed their assignment Apr 16, 2019
@vthinkxie
Copy link
Member

ng-zorro-antd support individual module import now, you can skip the NzTableModule now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants