Sign in
Log inSign up

Problem with AngularJS and Google Chrome autofill

Sergio's photo
Sergio
·Aug 3, 2016

I have a strange problem with my angularjs app, the case is in the login page in the form, no autofill the email or the password, but if I put to the email input the name email, autofill only the email field but never the password.

I put the name password to the password field but doesn't work. I don't know what is going on with this issue and don't have any more ideas.

Autofill example

<form name="form" class="form-validation text-left">
    <input name="email" type="email" placeholder="Email" class="form-control no-border" ng-model="user.email" required>
    <input type="password" placeholder="Password" class="form-control no-border" ng-model="user.password" required>
</form>

And this is the form, only put the tag form and the input to simplify the code. Any idea? In safari and firefox all works okey.