Password alternation through if with icon

Hi,

I would like to make a password switch through an if conditio.

Hi Giovanna,


Find the attached oml for your requirment.

try this link- https://rahul-sahu.outsystemscloud.com/TestEvent/Login?_ts=637254349597001358


Regards

Rahul Sahu

Hi Giovanna Hortolã,

I have create a reactive app demonstrating your requirement.

Check this: PasswordInput_Sample_Reactive_App

PFA - includes the .oml solution file


Hope it helps you!


Regards,

Benjith Sam

Solution

Hi Giovanna,

You should use a boolean variable in order to do this. You can call it for example IsPasswordVisible (I think you already have it).

Then you should use this variable in your If condition, where you have your different icons:


Associated to this If, you should have a link to a screen action (I think you already had it and the name was SenhaOnClick).

In this action, you should define the JavaScript that you already have plus one assign:


Also, you should set the visible property of your icons to True.



Kind regards,

Rui Barradas

Solution

Giovanna Hortolã wrote:

Hi,

I would like to make a password switch through an if conditio.


Hi,


FYI : i think this functionality already available in OS 11.


did you checked?


thanks