elements
elements copied to clipboard
Toggling password visibility resets if password field is empty
Preflight checklist
- [x] I could not find a solution in the existing issues, docs, nor discussions.
- [x] I agree to follow this project's Code of Conduct.
- [x] I have read and am following this repository's Contribution Guidelines.
- [ ] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe the bug
When toggling the password visibility, the field resets to type="password" when the user starts typing the password.
Reproducing the bug
- Toggle password visibility to "visible"
- Start typing in the field
See the field resetting to hidden.
https://github.com/user-attachments/assets/2dd3441d-fd74-48ca-9074-121206bf87eb
Relevant log output
Relevant configuration
Version
.44
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response