[DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq)


提示这个错误:

 

大概意思是,输入元素应该有自动完成的属性,比如: autocomplete=’new-passwordl’.

怎么搞定呢?

 

 链接:Chrome浏览器控制台Input elements should have autocomplete attributes (suggested: "current-password")

[DOM] Input elements should have autocomplete attributes (suggested: autocomplete='tel', confirm at

 

另外,autocomplete功能:记住输入内容,下次提交表单或者浏览器回退后,还能保持表单内容不变,规定输入字段是否应该启用自动完成功能

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM