# Show / hide groups with spaces in groupname

**URL:** <https://discourse.nodered.org/t/show-hide-groups-with-spaces-in-groupname/55229>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [15 December 2021 10:13 UTC](https://discourse.nodered.org/t/show-hide-groups-with-spaces-in-groupname/55229 "2021-12-15T10:13:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [15 December 2021 10:13 UTC](https://discourse.nodered.org/t/show-hide-groups-with-spaces-in-groupname/55229/1 "2021-12-15T10:13:54Z")

</div>

Showing and hiding groups is working well for me, but I have an issue when there is one or more spaces in the groupname. I have overcome this temporarily with adding an underscore in the groupname instead of a space. Is there a way to leave the space in the group name and keep the showing and hiding working?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [15 December 2021 10:41 UTC](https://discourse.nodered.org/t/show-hide-groups-with-spaces-in-groupname/55229/2 "2021-12-15T10:41:23Z")

</div>

Have you tried leaving spaces in names , but adding underscores when referencing the name?

---

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [15 December 2021 11:01 UTC](https://discourse.nodered.org/t/show-hide-groups-with-spaces-in-groupname/55229/3 "2021-12-15T11:01:22Z")

</div>

@E1cid .Like I said, it doesn't seem to be working with spaces in the group name. So I replaced the spaces in the group name with underscores. But that doesn't look very nice in the menu of the dashboard.

---

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [15 December 2021 11:22 UTC](https://discourse.nodered.org/t/show-hide-groups-with-spaces-in-groupname/55229/4 "2021-12-15T11:22:19Z")

</div>

@E1cid , I am sorry, I didn't got your answer the first time.Yes, indeed, it is working, leaving the spaces in the group name and referencing the name with underscores. Thanks very much.

---

<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:** [29 December 2021 11:22 UTC](https://discourse.nodered.org/t/show-hide-groups-with-spaces-in-groupname/55229/5 "2021-12-29T11:22:31Z")

</div>

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