Components: Tepmlate Parse Error: 'mat-accordian' is not a known element

Created on 10 Dec 2017  路  9Comments  路  Source: angular/components

Bug, feature request, or proposal:

Bug

What is the expected behavior?

mat-accordian should have been imported automatically when i have imported MatExpansionModule

What is the current behavior?

Gives the error

What are the steps to reproduce?

Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.

Plunker starter (using on @master): https://goo.gl/uDmqyY

StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV

What is the use-case or motivation for changing an existing behavior?

Documentation or something for version 2.0 should still be available.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 4, Material 2.0.0-beta.12, Windows, TS 2.4

Is there anything else we should know?

I have imported MatExpansionModule via import and included it in imports array.

Most helpful comment

Based on your error message, it looks like you spelled it mat-accordian.

All 9 comments

The element is called mat-accordion.

I know its called mat-accordion. But angular isnt recognizing it.

Based on your error message, it looks like you spelled it mat-accordian.

This is a little embarrassing.
Thanks.

BTW where are material 2 documents?

These have updated documents for material 5 as most of the imports are different. Well, I'll comb through them when required. If there was something like what angular docs have, it would have been great.

Thanks for helping out.

@crisbeto Yes, I'm using 2.0.0-beta.12, any way to get access to that version of the documentation?

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._

Was this page helpful?
0 / 5 - 0 ratings