-
Notifications
You must be signed in to change notification settings - Fork 116
Issue with latest Angular2 material #290
Comments
I think that is for the "md" prefixes deprecation and the compatibility mode |
After upgrading to material 2.0.0-beta.12 I'm getting the following exception originating from
|
Seems that not all module are affected. I end-up importing the one I needed instead of Md2, and it works fine again. Not sure which features is breaking it. |
I'm having a similar Issue, but with MD2 Datepicker. Even when I only import the Md2DatepickerModule it still throws an Error "MD_DATE_FORMATS". Using Material 2.0.0-beta.12 and Angular 4.4.4. Edit, 4 days later: I found the solution to this specific problem was to import the MdNativeDateModule:
|
Same probleme here. I'm using Material beta.12 and Angular 4.4.4 and I get the error
I completely removed the Md2 package to solve the issue. |
me too. Using Material 2.0.0-beta.12 and Angular 4.4.4. It's seems that
howerver, It is by design (seems to be). For those who need help.
@NgModule({
imports: [
// ...
Md2Module,
NoConflictStyleCompatibilityMode // from 'md2'
]
} or
|
@MienDev It work thank you |
The best way would be to remove the complete compatibility part, as they have done it in material. |
Is anyone having issues with the latest Angular Material with this enabled? I can't get floating placeholders to work, and I suspect it may be that compatibility mode might be the culprit |
@michaelreiser I don't think You can provide more information, such as code segment including
As a reminder, you can check the list following,
May this help. |
@MienDev
And
I tried using both the placeholder property and the UPDATE - I had a custom CSS file that was causing the issue. I no longer have the problem. |
Bug, feature request, or proposal:
Md2 is not compatible with the angular material
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/rQmUz8WYRh5Vz4gwY8E4?p=info
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, MD2, OS, browsers are affected?
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: