*ngFor problem

the ( let i ) not work

<ion-list *ngFor="let data of dataSenf; let i = index">
      <ion-item>
        <ion-label fixed>Name</ion-label>
        <ion-input
        type="text"
        placeholder="Name"
        name="data['name'][i]"
        ngModel
        required></ion-input>
      </ion-item>
      <ion-item>
        <ion-label fixed>Price</ion-label>
        <ion-input
        type="number"
        placeholder="Price"
        name="data['price'][i]"
        ngModel
        required></ion-input>
      </ion-item>
      <ion-item>
        <ion-label fixed>Descunt</ion-label>
        <ion-input
        type="number"
        placeholder="Price after descount"
        name="data['descount'][i]"
        ngModel
        required></ion-input>
      </ion-item>
      </ion-list>

People are going to have to see what the data looks like and what layout you’re expecting. “Not work” is uselessly vague.

let i => is index of array
i want put i in the name input