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

Removing the lock icon from the password input. #14

Open
mpRegalado opened this issue Jan 14, 2022 · 0 comments
Open

Removing the lock icon from the password input. #14

mpRegalado opened this issue Jan 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mpRegalado
Copy link
Member

Description

When using components from the forms library, they often accept the prop prepend that can be used to add a component to the side, such as an icon.

When using it in the EuiFieldPassword component, however, it can lead to a duplication of the lock icon, without any way to remove the embedded one that does not match the style of other fields.

Proposed solution

A prop for EuiFieldPassword that allows rendering the component without this icon

Screenshots

The issue
image

The desired result
image

@mpRegalado mpRegalado added the enhancement New feature or request label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant