1

How to prevent the password field from auto-fill with saved password in angular material design

I have used autocomplete="off" it does not worked for me.

   <md-input-container class="md-block margin-top-10" flex-gt-sm>

      <input type="password" name="password" ng-model="auth.user.password"  
         name="password" ng-required="true" autocomplete="off" >  
      </md-input-container>
Azeem Malik
  • 370
  • 1
  • 15
  • 1
    There a few questions about this including this one - http://stackoverflow.com/questions/2530/how-do-you-disable-browser-autocomplete-on-web-form-field-input-tag – camden_kid Jul 26 '16 at 12:56

1 Answers1

2

As far as I know this is an issue for material, as documented here.

As mentioned in the comments there is a workaround for this just add autocomplete="off" in the form definition.

Pureferret
  • 6,477
  • 14
  • 72
  • 149
Stefan.B
  • 126
  • 1
  • 5