css - input输入框记录清除
PHPz
PHPz 2017-04-17 12:04:48
0
3
926

各位大神,我的密码输入框,只要获取到焦点后就会把以前浏览器的密码输入记录显示出来。
我设置autocomplete="off"也没有办法禁用,怎么解决这个问题啊?

<input class="form-control" autocomplete="off" required ng-model="vm.password.oldPlainPassword" type="password" ng-blur="vm.findPad(vm.password.oldPlainPassword)"/>

PHPz
PHPz

学习是最好的投资!

reply all(3)
Peter_Zhu

Digression: This is for the browser to automatically fill in the form through the previous cache. Clear the browsing data in the browser settings or check a few options and those will disappear

It’s a bit inappropriate for the password of the questioner to be automatically filled in. Set it up

type="password"

For others, please refer to http://segmentfault.com/q/1010000002508241

伊谢尔伦

This happens only when you click on remember password when logging in, not by typing in the record. .
Google Chrome Clear Remembered Password http://zhidao.baidu.com/link?url=VU4FRBFwGtq8eNQEHxJuqKfJlYs3j-qsnDkbD35V0B7Tp4afqr4rqouBl-T3HZ9a_7-BeGESJvMyc9GOyaYgH_8aKNeD2KkxvaCCCap5o2G

大家讲道理

No type="password" ?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template