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

[Bug Report] Show password and clear icon on input type password #20864

Closed
ishakhorski-dev opened this issue Mar 22, 2021 · 1 comment · Fixed by #20902
Closed

[Bug Report] Show password and clear icon on input type password #20864

ishakhorski-dev opened this issue Mar 22, 2021 · 1 comment · Fixed by #20902
Assignees

Comments

@ishakhorski-dev
Copy link

ishakhorski-dev commented Mar 22, 2021

Element UI version

2.15.1

OS/Browsers version

Linux/Microsoft edge Version 91.0.825.0

Vue version

2.6.12

Reproduction Link

https://jsfiddle.net/wanwas/0obnagpz/1/

Steps to reproduce

enter something in the field

What is Expected?

The presence of only one icon for showing/hiding the password, which does not overlap the icon for clearing the field

What is actually happening?

There are two hide/show password icons, one of which overlaps the clear field icon.

@ishakhorski-dev
Copy link
Author

ishakhorski-dev commented Mar 22, 2021

This is the default edge styles applied to the input of the password type, we need use
::-ms-reveal {
width : 0;
height: 0;
}
it would be cool if the inputs with the password type when we use the show-password attribute would be by default so spelled out

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

Successfully merging a pull request may close this issue.

2 participants