android - Chrome/Android is prompting to save username on a search input
问题描述
Chrome or Android is prompting to save a "username" only (no password) for a text input. I cannot replicate it on desktop.
<input placeholder="  Search Name" id="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" type="text">
Any ideas how to prevent this?
解决方案
I wrapped the input in a form tag, and it stopped.
推荐阅读
- angular - 从 HttpInterceptor 中的 catchError 返回可观察到的已捕获错误会导致错误循环
- html - Flexbox 内容在表格中有一个像素偏移
- sql-server - 在 SQL 中获取具有连续月份范围的行
- javascript - 转换表单编号字段值结构
- python - 如何使 Django 数据库缓存的条目过期?
- python - 试图制作函数来获取最大行数 Pygame
- javascript - 如何从 React 组件中提取通用逻辑(但通用逻辑是使用 setState)
- ios - 滚动时电子节目指南视图如何更新?
- javascript - 所需的功能是 javascriptenabled 已弃用。我们如何使用 Internet Explorer 驱动程序 selenium 中启用的 java 脚本
- jsgrid - jsGrid不显示表格