原文:前端jinput:[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq)

input 使用到 password 类型的输入框时,控制台会提示警告。 出现原因:未添加autocomplete属性造成的。 autocomplete 用途:规定输入字段是否应该启用自动完成功能。清除input框输入存留历史值,防止下拉历史值显示。 自动完成允许浏览器预测对字段的输入。当用户在字段开始键入时,浏览器基于之前键入过的值,应该显示出在字段中填写的选项。 autocomplete 属 ...

2020-08-28 10:14 0 562 推荐指数:

查看详情

https://goo.gl/zmWq3m.

This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https ...

Thu May 30 20:10:00 CST 2019 0 1045
input autocomplete用法

添加 autocomplete="off"例如名字:<input type="text" nam ...

Thu Oct 11 02:10:00 CST 2018 0 1202
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM