Disabling Safari autofill on usernames and passwords

后端 未结 17 1756
萌比男神i
萌比男神i 2020-11-29 03:52

You might already know, that Safari has a nasty autofill bug where it fills email, username and password fields no matter if you set autocomplete=\"off\" or not

17条回答
  •  悲&欢浪女
    2020-11-29 04:18

    You can disable it by adding this attribute to password input

    autocomplete="new-password"
    

提交回复
热议问题