Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, it is possible to associate 'ngModel' with 'ion-input'.

Here is an example:

<ion-item>
  <ion-label>Email</ion-label>
  <ion-input type="email" [(ngModel)]="email"></ion-input>
</ion-item>

In the above code, 'ngModel' is associated with 'ion-input' to bind the value of 'email' variable to the input field.