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

Input type issue in LegendInput #4147

Closed
Ashesh3 opened this issue Nov 29, 2022 · 0 comments · Fixed by #4148
Closed

Input type issue in LegendInput #4147

Ashesh3 opened this issue Nov 29, 2022 · 0 comments · Fixed by #4148
Assignees

Comments

@Ashesh3
Copy link
Member

Ashesh3 commented Nov 29, 2022

Describe the bug
Currently the input type for LegendInput is not set correctly. It is only set to either text or password, whereas it supports email and number too.

<input
...
type={props.type === "PASSWORD" && !showPassword ? "password" : "text"}    //Can be either "text" or "password"
...

This logic should be fixed so that LegendInput supports all the input types.

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.

1 participant