DEV Community

skptricks
skptricks

Posted on

React native dynamically show and hide Password Content Example

Source : React native dynamically show and hide Password Content Example

This tutorial explains how can we dynamically show and hide password on button click in react native application. You may have seen this feature in various application like Google, Facebook, Twitter, Instagram etc. By default password field is in hidden mode and when user writes anything in password textfield, then it will display the encrypted value or asterisk symbol in text field box. but when user clicks on show button, then it will display the password field content in simple text format.

React native dynamically show and hide Password Content Example

Click here to read more...

Top comments (1)

Collapse
 
smammar profile image
SMAmmar

Its not working.
I am getting a
Possible Unhandled Promise Rejection (id: 0):