# UI Text label visibility

**URL:** <https://discourse.nodered.org/t/ui-text-label-visibility/92270>\
**Category:** Dashboard\
**Created:** [9 October 2024 15:33 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270 "2024-10-09T15:33:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nearbyatom](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nearbyatom](https://discourse.nodered.org/u/nearbyatom)\
**Post date:** [9 October 2024 15:33 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/1 "2024-10-09T15:33:37Z")

</div>

I have a UI-text node. Is there a way to display the text without the label?

I know I can just leave the label blank. But if I choose to have a label, is there a way to not have it show up in the dashboard?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/b/3b06a1fbcb5b93c9bdc247ca7cd3f5bf0c3538e7.png)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [9 October 2024 16:57 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/2 "2024-10-09T16:57:39Z")

</div>

Can you explain why you would "choose to have a label, but not have it show up in the dashboard"?

You can specify a CSS class for the text widget eg "nolabel" and style it with CSS in a template node:

```auto
<style>
.nolabel p.label {
    display: none;
}
</style>

```

---

<div class="post-metadata">

**Author:** ![nearbyatom](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nearbyatom](https://discourse.nodered.org/u/nearbyatom)\
**Post date:** [9 October 2024 20:45 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/3 "2024-10-09T20:45:10Z")

</div>

Strange request, right?

So the reason for this is because in my dashboard, I have about 20 UI-txt boxes. When I'm making my layout and I'm moving these boxes around, I realized that the layout IDs these boxes via the labels. But in the dashboard, I'd like to have my own messages so I'd use the change node + setting the payload value to my message.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [9 October 2024 21:09 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/4 "2024-10-09T21:09:29Z")

</div>

> [@nearbyatom](#):
>
> the layout IDs these boxes via the labels.

Well it does unless you give the node a name, in which case it uses that.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/a/8a54fe6887e7ca312c04b2472cc8e701c0e90e19.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/2/a21e6e2531f246c15110ab1e9f9161f37096bd86.png)

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [10 October 2024 06:28 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/5 "2024-10-10T06:28:57Z")

</div>

> [@nearbyatom](#):
>
> I know I can just leave the label blank. But if I choose to have a label, is there a way to not have it show up in the dashboard?

Can you clarify why, just leaving the label option blank, is not a solution for you here?

---

<div class="post-metadata">

**Author:** ![nearbyatom](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nearbyatom](https://discourse.nodered.org/u/nearbyatom)\
**Post date:** [16 October 2024 16:15 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/6 "2024-10-16T16:15:44Z")

</div>

True, leaving it blank will have the label not show in the dashboard.

But then when I go to layouts and move my stuff around, I have a bunch of elements with label. So I have no idea what they are or what I'm moving.

If I use a label, it'll show up on the dashboard and take up too much space. I want my payload to dictate the message, not the label.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [16 October 2024 16:39 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/7 "2024-10-16T16:39:34Z")

</div>

Does using the "Name" field instead not help here?

---

<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:** [15 November 2024 16:40 UTC](https://discourse.nodered.org/t/ui-text-label-visibility/92270/8 "2024-11-15T16:40:00Z")

</div>

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