Showing & Hiding Groups

Hi there, I am trying to show and hide groups but I just can't seem to come right I have the following flow

With the following function;

I use msg.payload = {"group":{"hide":["Login"],"show":["Scanning_Form"]}}; to try and show the next form and hide my login form

Shouldn't you inject this msg.payload:

{"group": {"hide": ["Login"], "show": ["Scanning_Form"]}}

into an ui_control node?
I don't know much about node-red, but in my flows I control the dashboard this way.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.