Ionic 2 ion input without browser autocomplete?
I am working on a login form with two fields: email
and password
using the ionic2 framework.
<ion-item>
<ion-label floating>Email</ion-label>
<ion-input formControlName="email" type="text" #emailModel></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Password</ion-label>
<ion-input formControlName="password" [type]="isActive ? 'text' : 'password'"></ion-input> </ion-item>
<ion-grid padding>
After a few tests, I noticed that when I type an email that has already been typed before the autocomplete is loaded underneath, as is usually the case for a regular one input
. Is this the usual behavior for a login form?
+3
source to share