While i’m using [(ngModel)] like
<ion-item>
<ion-label floating>Company Name</ion-label>
<ion-input type="text" [(ngModel)]="complaintRaise.companyName" formControlName="companyName" name="companyName"></ion-input>
</ion-item>
my array in ts file is:
complaintRaise: any = {
id: ‘’,
name: ‘’,
email: ‘’,
companyName: ‘’,
mobileNo: ‘’,
complaintRegarding: ‘’,
complaintText: ‘’,
isResolve: false,
addDate:’’
};