Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ion-input shows duplicate values

$
0
0

@basti wrote:

Hey, I try to fill a table with <ion-input> tags, but there are always duplicate numbers showing… (The values in the array are correct.)

capture_004_24112019_220729

<ion-grid>
 <ion-row >
      <ion-col *ngFor="let points of player; let j=index" class="table">
        <ion-input color="primary" [(ngModel)]="player[j]" (ngModelChange)="save()">{{player[j]}}</ion-input>
      </ion-col>
    </ion-row>
  </ion-grid>

It’s the same when I use just a single <ion-input>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles