Hi All,
I wanted to show the password on click of (eye) button. I have tried Toggle Password but It is based on the Traditional Application that is not working in Reactive Application.
Can show into the below image.
Thanks
Prince
There is an action from OutSystemsUI that you can use.
Look at the OML that I created that has the logic already with an example to show password.
Kind Regards,
Márcio
Thanks Marcio, This really helped me. It's done now. :)
Glad that I could help you. 🙂
Hi Prince,
In addition, refer to this forum post also: Show Hide Password
Kind regards,
Benjith Sam
Hello Marcio,
your Input Text Alignment not coming on the left can you tell me how can I align it to left
Hello,I had the same problem, you can use this JavaScript in reactive, mobile and web applications
var inputPassword = document.getElementById($parameters.Input);
var typeInputPassword = inputPassword.type;if(typeInputPassword === 'password')
{
inputPassword.setAttribute('type', 'text');
}
else{
inputPassword.setAttribute('type', 'password');
You will need to pass an input parameter in JavaScript, which will be the password Input Id
This JavaScript will also work if you have two password fields
Eduardo Hunhoff