# Dashboard 2: Show/hide group by group name not working?

**URL:** <https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [4 September 2025 23:20 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960 "2025-09-04T23:20:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [4 September 2025 23:20 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960/1 "2025-09-04T23:20:45Z")

</div>

Hello:

When using ui-control to show/hide groups, if I use the group name, it doesn't work and I see and error message in NR logs -

```auto
Sep 17:55:45 - [error] [ui-control:Show/hide Lux Events] Error: No group found with id or name 'Indoor Lux Events'

```

```auto
4 Sep 17:55:54 - [error] [ui-control:Show/hide Lux Events] Error: No group found with id or name 'Indoor Lux Events'

```

However, if I use the group ID (found it after exporting the flow and searching for ui-group), it works.

I had converted another flow using the Flowfuse migration service to DB2 and it does work there. I then exported the “migrated” flow and used this ( [DB2: Duplicate/Copy ui-pages with all widgets? - #12 by rakgupta](https://discourse.nodered.org/t/db2-duplicate-copy-ui-pages-with-all-widgets/98866/12) ) to “duplicate” the flow and everything but the show/hide is working. I even deleted the “converted” groups and created new ones but the show/hide does not work.

Any idea on what could be happening? Not sure if this is a bug or something in the “conversion” process that I used (if the latter, then I need to put a caveat out on that thread). Thanks for your help.

---

<div class="post-metadata">

**Author:** ![gerrybartley](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerrybartley/32/67495_2.png) [@gerrybartley](https://discourse.nodered.org/u/gerrybartley)\
**Post date:** [5 September 2025 06:56 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960/2 "2025-09-05T06:56:44Z")

</div>

I have noticed this too. If you add ui-control node existing groups and widgets are recognised. But nodes/groups added after this will never be found

My solution was to delete the ui-control node, re-add it and deploy. Then everything seems to work ok

I would say this is a bug with ui-control

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 September 2025 08:02 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960/3 "2025-09-05T08:02:54Z")

</div>

I think that if you just restart node-red that will fix it. But yes, I would say that is a bug. Please report it on the [dashboard issues page](https://github.com/FlowFuse/node-red-dashboard/issues).

---

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [5 September 2025 11:26 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960/4 "2025-09-05T11:26:09Z")

</div>

> [@Colin](#):
>
> I think that if you just restart node-red that will fix it.

I had tried that (I think) - but it had not worked. Will try recreating it and then create an issue.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 September 2025 12:31 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960/5 "2025-09-05T12:31:13Z")

</div>

Make sure you refresh the dashboard browser window too.

---

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [5 September 2025 12:57 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960/6 "2025-09-05T12:57:47Z")

</div>

Turns out that my group name had an extra space in it. I should have looked at that more closely since I was getting an error on only one of the two groups on show/hide. Sorry for wasting your time - it’s the obvious things that get missed 🤦🏻‍♂️

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 September 2025 12:58 UTC](https://discourse.nodered.org/t/dashboard-2-show-hide-group-by-group-name-not-working/98960/7 "2025-09-19T12:58:30Z")

</div>

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