Disabled attribute in expansion panel not working
Bug, feature request, or proposal:
Bug
What is the expected behavior?
<md-expansion-panel [disabled]=true> should disable the panel and should not expand.
What is the current behavior?
Getting the below error . Can't bind to 'disabled' since it isn't a known property of 'md-expansion-panel'.
- If 'md-expansion-panel' is an Angular component and it has 'disabled' input, then verify that it is part of this module.
- If 'md-expansion-panel' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
- To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
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/DlHd6U
StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/cli: 1.2.1 node: 7.7.3 os: win32 x64 @angular/animations: 4.2.6 @angular/cdk: 2.0.0-beta.8 @angular/common: 4.2.6 @angular/compiler: 4.2.6 @angular/core: 4.2.6 @angular/flex-layout: 2.0.0-rc.1 @angular/forms: 4.2.6 @angular/http: 4.2.6 @angular/material: 2.0.0-beta.8 @angular/platform-browser: 4.2.6 @angular/platform-browser-dynamic: 4.2.6 @angular/router: 4.2.6 @angular/cli: 1.2.1 @angular/compiler-cli: 4.2.6 @angular/language-service: 4.2.6
Is there anything else we should know?
This feature is only available from beta.10. Update your @angular/material.
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.