Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

浏览器自动填充问题 #33

Closed
Soulike opened this issue May 10, 2020 · 1 comment
Closed

浏览器自动填充问题 #33

Soulike opened this issue May 10, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Soulike
Copy link
Owner

Soulike commented May 10, 2020

描述

在有些表单中浏览器会错误地填充用户名和密码到输入框中。

复现步骤

开发者无法复现,但不止一个用户报告此问题。问题出现在有密码输入框出现的位置,浏览器会错误认为密码输入框的上一个输入框是用户名输入框。

预定解决方案

对 设定 autocomplete=off 和 name 属性,提高浏览器的识别准确率。

@Soulike Soulike added the bug Something isn't working label May 10, 2020
@Soulike
Copy link
Owner Author

Soulike commented May 12, 2020

已修复,修复方式为添加不可见的输入框

@Soulike Soulike closed this as completed May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant