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

[Feature Request] Password support #43

Open
theianjohnson opened this issue Dec 12, 2024 · 2 comments
Open

[Feature Request] Password support #43

theianjohnson opened this issue Dec 12, 2024 · 2 comments

Comments

@theianjohnson
Copy link

Admittedly a niche case, but we'd like to hide/show sensitive inputs with a mask using something like type="{ isHidden ? 'password' : 'text' }", but there's some interaction where the user can just no longer enter characters and the input doesn't handle the mask correctly

@GoncharukBro
Copy link
Collaborator

We will analyze the use of the "password" type for correct operation with the mask, but you should understand that if you, for example, want to hide characters using the "password" type, then in fact all characters will be replaced by placeholders, i.e. the value "123 789" with a space will be displayed as "•••••••", where the space is also replaced by a placeholder.

If there is a need to replace only the characters entered by the user, then report this in the comments.

@theianjohnson
Copy link
Author

i.e. the value "123 789" with a space will be displayed as "•••••••"

This is exactly what we need

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