codeigniter-3 - DOM Input 元素应该具有自动完成属性
问题描述
我有错误详细信息
[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://#) <input type="password" name="password" id="password" class="abs-form mtb-10" placeholder="Password" required>
什么意思?
解决方案
“自动完成”确定浏览器必须提供哪些权限(如果有)以提供建议表单字段值的自动帮助。它还让浏览器知道该字段中预期的信息类型。
对于密码字段,我建议autocomplete="off"
.
试一试,看看验证者是否改变主意。另一种选择是尝试autocomplete="current-password"
有关“自动完成”属性的完整详细信息,请点击此处。
推荐阅读
- postgresql - 推迟删除 Postgres 中的级联对象?
- css - Css动画没有保持在最新位置
- javascript - AngluarJS 控制器返回工厂但未在模板中显示
- python - 在类外定义的类函数中使用 self
- reactjs - Preact throwing Children.only() 在使用 4Catalyzer/found 时只需要一个孩子
- python - Robotframework:如何在字符串中执行令牌和秘密到不同的变量?
- java - 如何有效且正确地在 mongodb 中存储和检索各种 REST 服务器响应
- excel - 根据每封电子邮件的 Excel 单元格值确定 Outlook 收件人
- c - 将中缀转换为后缀时出现分段错误
- react-native - React Native Design Keyboard On Top of TextBox - 无法使 KeyboardAvoidingView 工作