Within the context of a single ion-list, I have populated two arrays with values to iterate through: Billerstatusstate and Billerstatusnamelst.
I attempted the following iterations:
<ion-list ion-item *ngFor="let stat of Billerstatusstate; let bil of Billerstatusnamelst" >
{{bil}} <button round>{{stat}}</button>
</ion-list>
as well as
<ion-list ion-item *ngFor="let stat of Billerstatusstate" *ngFor="let bil of Billerstatusnamelst" >
{{bil}} <button round>{{stat}}</button>
</ion-list>
The issue is that it is using the first value iterated for both local variables.
Is there anything I am overlooking?
Alternatively, is there another method to combine both sets of values into a single array and then separate them in the View using ngFor?