Forums
Unable to use Switch element to control object - Printable Version

+- Forums (https://forums.appli.io)
+-- Forum: Support (https://forums.appli.io/forumdisplay.php?fid=7)
+--- Forum: Bug Reports (https://forums.appli.io/forumdisplay.php?fid=8)
+--- Thread: Unable to use Switch element to control object (/showthread.php?tid=1062)



Unable to use Switch element to control object - stam66 - 01-07-2025

Dear team,

I wanted to use a switch control to manually set the passwordField property of a field to True|False.

On the face of it this should be simple but does not seem to work. I have to toggle the switch twice to change the property once, with the result that it's not possible to really control this with logic.

This is my code, for a field password with it's passwordField set to true, and switch element called showPassword:
   

This alternative code has the same issue:
   

Either I'm doing something wrong (but for the life of me I can't see it) or this is a bug...

This makes using Switch element unusable...
Any suggestions?

Many thanks,
Stam


RE: Unable to use Switch element to control object - linda - 01-09-2025

Hi Stam,

Thank you for the bug report. I can confirm this is a bug with the field element when changing the "password field" property. A fix for this bug will be made in the next update for Appli.