1

I have one input field with type text and jQuery Datepicker. A weird thing happening is that when I click on that input field, chrome shows a password suggestion.

<input name="registration" type="text" placeholder="MM.JJJJ">

When I remove the name then it stops suggesting passwords.

enter image description here

Pritesh
  • 1,022
  • 2
  • 14
  • 30
Ikt
  • 77
  • 8

2 Answers2

2

Do you have a input before that one, called something like email or username?

I've seen Chrome look at an input field and decide all by it's self that the field after it is a password field, and try to autocomplete it.

Chris Wheeler
  • 1,543
  • 1
  • 10
  • 17
0

You have to add autocomplete="disabled"

Chrome stopped supporting autocomplete="off" that's why autocomplete="off" isn't working but it doesn't understand if you use autocomplete="disabled" that's why this works for now

xmaster
  • 1,044
  • 6
  • 19