Skip to content

a-input-password 用于手动控制密码显隐和显隐密码的回调 #6860

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

Closed
1 task
appleaway opened this issue Aug 17, 2023 · 1 comment · Fixed by #6863
Closed
1 task

a-input-password 用于手动控制密码显隐和显隐密码的回调 #6860

appleaway opened this issue Aug 17, 2023 · 1 comment · Fixed by #6863
Labels

Comments

@appleaway
Copy link

appleaway commented Aug 17, 2023

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

What problem does this feature solve?

可以控制密码框初始状态为展示还是隐藏密码,并且可以由外部组件控制这个状态;

参考设计:https://ant.design/components/input-cn#components-input-demo-password-input

What does the proposed API look like?

VisibilityToggle

Property Description Type Default
visible 用于手动控制密码显隐 boolean false
onVisibleChange 显隐密码的回调 boolean -
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant