Can you try adding a button that toggles a boolean? And then duplicate the password input field, and then show as password true/false based on that boolean.
Download the widget using this link: ToggleShowPassword Widget.
After downloading, drag the widget under the password fields and click the widget's upload eye icon image (without background image).
Hi Reemali,
To implement this you need to add helper attribute as IsVisible, Then add two text box in the page One with show as password true and another as false. Then add two buttons one with eye open and another with close calling a nanoflow/Microflow by changing boolean value (if $Object/Isvisible then false else true).
Then add a container for text box and eye button separately with one for isvisible and another for isvisible = false.