Make visible and invisible a password using a button

Hi, I am trying to add a feature in my app where the user can use the button to make a password visible and when the user presses the button again it becomes invisible again. Can you please assist me with this, including the coding blocks?

There is a block for this:

image

image

Or the short version :grin:

2 Likes