Encountering an issue with ion-input. Getting an undefined value when attempting to bind prodbum.totalamt. What could be causing this problem?
username
<ion-item>
<ion-label floating>Secondname</ion-label>
<ion-input type="number" name="secondname" [(ngModel)]="prodbum.secondname" required></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Total: {{prodbum.username * prodbum.secondname}}</ion-label>
<ion-input type="number" [value]="prodbum.username * prodbum.secondname" [(ngModel)]= "prodbum.totalamt" readonly="true"></ion-input>
</ion-item>
<ion-item>