using Angular Material, I'm trying to disable certain expansion panels within an accordion:
The Angular Material docs for md-expansion-panel (https://material.angular.io/components/expansion/overview#expansion-panel-content) say:
Disabling a panel
Expansion panels can be disabled using the disabled attribute. A disabled expansion panel can't be toggled by the user, but can still be manipulated using programmatically.
<md-expansion-panel [disabled]="isDisabled"> etc...
But when I put [disabled]="isDisabled" (or "true" or "false" or anything) I get the following error:
Uncaught Error: Template parse errors: Can't bind to 'disabled' since it isn't a known property of 'md-expansion-panel'.
Here's my actual template.html code:
<md-card>
<md-card-header><h2 md-header>Attempt to Disable Individual Expansion Panel</h2></md-card-header>
<md-card-content>
<md-accordion>
<md-expansion-panel [disabled]="isDisabled">
<md-expansion-panel-header>
<md-panel-title>
Here is the title of a panel
</md-panel-title>
</md-expansion-panel-header>
<md-panel-description>
Blah blah some descriptive text
</md-panel-description>
<p>
Here's some content just to fill out all the available blanks.
</p>
</md-expansion-panel>
</md-accordion>
</md-card-content>
</md-card>
Any ideas would be greatly appreciated!! Thanks!