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

The "mat-" prefix cannot be used in ng-material v1 compatibility mode #7772

Closed
mbx2015 opened this issue Oct 13, 2017 · 6 comments
Closed

The "mat-" prefix cannot be used in ng-material v1 compatibility mode #7772

mbx2015 opened this issue Oct 13, 2017 · 6 comments

Comments

@mbx2015
Copy link

mbx2015 commented Oct 13, 2017

I already updated @angular/material and @angular/cdk to v beta.12 but I got this error
ERROR Error: The "mat-" prefix cannot be used in ng-material v1 compatibility mode. It was used on an "mat-list" element.

What's wrong ??

@willshowell
Copy link
Contributor

If you are on beta.12 and have already made the conversion to mat-, then you should be able to remove {provide: MATERIAL_COMPATIBILITY_MODE, useValue: true},

@mbx2015
Copy link
Author

mbx2015 commented Oct 13, 2017

I don't use MATERIAL_COMPATIBILITY_MODE in my code

@ghd8
Copy link

ghd8 commented Oct 13, 2017

if you are using "covalent" or "md2" see also
Teradata/covalent#923
Promact/md2#290

@andrewseguin
Copy link
Contributor

Please refer all troubleshooting questions to StackOverflow, Gitter, or Google Groups.

@mbx2015
Copy link
Author

mbx2015 commented Oct 14, 2017

I'm currently using md2, that's the source of the problem,
thanks

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants