I'm try to enable/disable in my node-red app. The Idea is disable at the beginnig my tabs and after a successfully login (only if success), then will be enable the tabs. I have try with this code but its not work properly.
Do you mean that the flow is not sending the enable message when it should or that the enable message doesn't enable the tabs? I am confused because you have shown the rest of the flow rather than just what is going into the ui_control node.
What OS are you running on?
Can you restart node-red in a terminal please and post the full log up to the point where it should enable the tabs please. It is the log including the Welcome to node-red message. Use the </> button above this window when pasting it in here.
It won't change it to Enabled in the editor, but it should enable it in the run time, so you should be able to select it via the menu dropdown in the dashboard. When they are disabled you can't select via the menu.
yes I can't select it in the dropdown menu by the dashboard. This is the problem ... I want to do in the flow.
At the beginning is the Tab DISABLE , then if the User was logged succesfully . I will be enable the Tab in the dashboard.
A couple more thoughts.
If you start with the tabs enabled are you able to disable them via the flow?
Which browser are you using? Are you able to try another (Firefix, Chrome)?
If still not joy Open the browser's Developer Console and see if there are any errors shown when you enable/disable.