Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Input Icons Clickable #429

Closed
asalem1 opened this issue Jan 15, 2020 · 0 comments · Fixed by #431
Closed

Input Icons Clickable #429

asalem1 opened this issue Jan 15, 2020 · 0 comments · Fixed by #431
Labels
enhancement Making it better all the time

Comments

@asalem1
Copy link
Contributor

asalem1 commented Jan 15, 2020

Some design's I've been working with show a password field with an eye Icon that's easy enough to input. However, those icons aren't very useful if the Icon can't have a click handler to correspond to it

Describe the solution you'd like
Either allow for TSX/JSX element to be accepted by the icon parameters of Input, or allow an iconOnClick method that gets passed down to the icon that's passed in.

Describe alternatives you've considered
Getting rid of icons from all input fields?

@asalem1 asalem1 added the enhancement Making it better all the time label Jan 15, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement Making it better all the time
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant