Web Editor - Visible Property For Groups

You can set the visibility of groups from within code using Lua. However, the web editor doesn’t allow you to specify a groups initial visibility like you can with controls

use case
I have some controls that I show/hide according to a value of another control. Initially they are hidden until a particular value is selected. I use groups to further indicate the purpose of the controls. I’d like the group to initially be hidden and then shown when the controls are shown.

I use the control:setSlot function for that case, moving controls from a hidden page to a visible one, and vice versa. That’s just a trick.

Have a nice day.


I’m doing that too, though I haven’t yet explored doing that with groups (as opposed to controls)

I will add it there. It totally makes sense.

1 Like