Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Input] 输入框在type='password'的 情况下 控制密码是否明文显示的问题 #1121

Closed
OrionMark opened this issue Oct 10, 2023 · 4 comments

Comments

@OrionMark
Copy link

tdesign-mobile-vue 版本

1.0.5

重现链接

No response

重现步骤

在输入完密码,光标离开文本框之后 就无法在点击眼睛查看明文了,只有删除掉密码,重新输入才可以,想知道为什么这么设计,现在用户使用感觉十分别扭

期望结果

希望可以在光标离开后 也可以点击查看明文密码

实际结果

No response

框架版本

3.3.4

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @starsBugs,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@fennghuang
Copy link
Collaborator

@starsBugs 麻烦提供一下复现的代码片段 https://stackblitz.com/edit/okfnew?file=src%2Fdemo.vue

@OrionMark
Copy link
Author

OrionMark commented Oct 11, 2023

输入完密码,光标未离开
image

光标离开,再回来
image

@fennghuang
Copy link
Collaborator

fennghuang commented Oct 11, 2023

@starsBugs
这个应该是 edge 浏览器的功能
password demo 并未做显隐的密码的功能
image

https://learn.microsoft.com/en-us/microsoft-edge/web-platform/password-reveal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants