01-07-2025, 11:42 AM
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
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