I am facing an issue with the md-checkbox
component when used as a title in the header of an expansion panel. The problem arises when I try to check the checkbox, causing the expansion panel to change its expanded state to false, preventing me from checking the checkbox. Is there a way to resolve this so that I can check the checkbox without affecting the expanded state of the expansion panel when I click on it?
<md-expansion-panel [expanded]="true">
<md-expansion-panel-header>
<md-panel-title>
<section>
<md-checkbox [(ngModel)]="model.IsActive">Is Active</md-checkbox>
</section>
</md-panel-title>
</md-expansion-panel-header>
</md-expansion-panel>