Hello I tried to display 2 Arrays but it displays it wrong. The items1 is displayed in whole instead of for each. If i add it to a normal div outside of ion-card it displays it fine.
HTML:
<ion-card *ngFor="let item of items" >
<ion-card-header >
<ion-card-title >{{item}}</ion-card-title>
</ion-card-header >
<ion-card-content *ngFor="let item1 of items1">{{item1}}</ion-card-content>
</ion-card>
it’s because each time you print a value from item, it goes down untill it finds items1 and then there is a ngFor cycle, it will cycle for all its items and then it goes up to the second item’s element and so on.