Hi All,
I have a form I want to map to an model object. When I add [[ngModel]]
to the ion-input
, the page does not load (no errors).
html
<ion-input type="text" [(ngModel)]="personModel.username" formControlName="username" id="username"></ion-input>
ts
private personModel: PersonModel = null;
this.personModel = this.navParams.get('personModel');
Any ideas why the [[ngModel]]
is not working?
Thanks