How to disable all tabs except selected tab in angular4 material
All you need to do is use default property of mat-tab
isActive
: ReadMore
<mat-tab-group>
<mat-tab #tab [disabled]='!tab.isActive' *ngFor="let subject of subjects" [label]="subject.name">
{{ subject.name }}
</mat-tab>
</mat-tab-group>
WORKING DEMO