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 password still has value prop in DOM #24526

Closed
1 task
louis269279 opened this issue May 28, 2020 · 0 comments · Fixed by #24535
Closed
1 task

Input password still has value prop in DOM #24526

louis269279 opened this issue May 28, 2020 · 0 comments · Fixed by #24535
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@louis269279
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/input/

Steps to reproduce

Go to the password box demo.
Type in a password.
Inspect DOM and you can see the password in plaintext in the DOM.

What is expected?

Password is not visible in the DOM

What is actually happening?

Password is inside the DOM

Environment Info
antd 4.2.5
React Latest version
System Windows
Browser Chrome

This PR was meant to have fixed it, but it doesn't seem to be available in the latest antd version.
#20544

Screen Shot 2020-05-28 at 12 49 38 pm

@louis269279 louis269279 changed the title Input password still have value in DOM Input password still has value prop in DOM May 28, 2020
@afc163 afc163 added 🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it labels May 28, 2020
afc163 added a commit that referenced this issue May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants