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

Can we set visibility icon custom for password textfield to enable and disable the action?? #1012

Closed
swift1022 opened this issue Jan 5, 2018 · 2 comments

Comments

@swift1022
Copy link

No description provided.

@daniel-jonathan
Copy link
Member

You can set if it is enabled by using the TextField.isVisibilityIconButtonEnabled property. As for changing the image, I will need to make that a feature request. I can include this behavior in Material 3. I will leave this up as a reminder. Thank you!

@daniel-jonathan
Copy link
Member

There are two new properties in Material 2.16.0.

visibilityIconOn
visibilityIconOff

Each allow an image to be set for the visibility icon. If you need any further help, please reopen, or create a new issue. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants