Is it possible to render components in the mat tab?

I somehow like this approach to show the components in the tabs gives a buffer overrun - with no errors:

<mat-tab-group
animationDuration="0ms"
[selectedIndex]="selectedTabIndex"
(selectedTabChange)="tabChanged($event)"
>
 <mat-tab *ngFor="let the order of getorderVersionsService()">
 <ng-template mat-tab-label>
 {{ order.versionid }}
</ng-template>

 <!-- Content-->

 <ng-template matTabContent>
 <app-order-definition [orderDefinition]="order"></app-order-definition>
</ng-template>
</mat-tab>
</mat-tab-group>


Does generally Angular to render components in a loop in the body?
<app-order-definition [orderDefinition]="order"></app-order-definition>


I somehow like this approach hangs
April 19th 20 at 12:33
1 answer
April 19th 20 at 12:35
Solution

Find more questions by tags Angular