# Is it possible to disable widgets or not display them?

**URL:** <https://discourse.nodered.org/t/is-it-possible-to-disable-widgets-or-not-display-them/1972>\
**Category:** Dashboard\
**Created:** [1 August 2018 14:58 UTC](https://discourse.nodered.org/t/is-it-possible-to-disable-widgets-or-not-display-them/1972 "2018-08-01T14:58:27Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [2 August 2018 12:50 UTC](https://discourse.nodered.org/t/is-it-possible-to-disable-widgets-or-not-display-them/1972/10 "2018-08-02T12:50:48Z")

</div>

Thanks Andrei,

The example syntax in the "Info" Tab on the side-bar for the node "ui\_control" is  
{group:{hide:["tab\_name\_group\_name\_with\_underscores"], show:["reveal\_another\_group"], focus:true}}

its INCORRECT syntax for JSON.

I put the example below in following the syntax on the ui\_control example. It would not accept it as JSON, so I left it as "String". Mistake.

{group:{hide:["Tab1\_Group\_1"]}

The name of the "tab" is "Tab1"  
the name of the "group" is "Group 1"

The above is according to the example.

Correct JSON is  
{"group":{"hide":["Tab1\_Group\_1"]}}  
Inject this as JSON and it works fine... WOW.

Please update the example for correct JSON syntax. double quotes around "group" and "hide".

---

_[View the full topic](https://discourse.nodered.org/t/is-it-possible-to-disable-widgets-or-not-display-them/1972)._
