# Button texts don't show occasionally / go missing

**URL:** <https://discourse.nodered.org/t/button-texts-dont-show-occasionally-go-missing/33488>\
**Category:** Dashboard\
**Created:** [29 September 2020 06:39 UTC](https://discourse.nodered.org/t/button-texts-dont-show-occasionally-go-missing/33488 "2020-09-29T06:39:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stoffers](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@stoffers](https://discourse.nodered.org/u/stoffers)\
**Post date:** [29 September 2020 06:39 UTC](https://discourse.nodered.org/t/button-texts-dont-show-occasionally-go-missing/33488/1 "2020-09-29T06:39:58Z")

</div>

Hi,

I use the buttons for several of my lights. In the dashboard page they show up and functionally work, so icons, messages received and sent do work, however occastionally, the button texts don't show.

Example what they should look like:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/8/682262a5e23d432933a7a56b5a58ca7860731bfd.png)

Example what I see when the issue manifests:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/7/e7615815efea4012b39746bdd31d832f8b645ccd.png)

I can trigger the issue always by moving to another flow, and then come back to the flow with the buttons.  
I can solve the issue by refreshing the page with F5.  
Sometimes it happens when the dashboard is first loaded, but not always.

This happens on Windows and Android 8 + 10  
This happens when using Chrome, Edge and Fully Kiosk Browser

I am using node-red dashboard 2.23.4

I had also reported this here: [Weird issue: Button Texts go missing](https://discourse.nodered.org/t/weird-issue-button-texts-go-missing/11565/6) but I was asked to create a new post.

My code:

```auto
[{"id":"d2393ce2.1da33","type":"ui_button","z":"9235bbe0.d90a78","name":"Bookshelf","group":"e460e8a.9aac518","order":3,"width":3,"height":1,"passthru":false,"label":"Bookshelf","tooltip":"","color":"#FFFFFF","bgcolor":"{{color}}","icon":"fa-power-off","payload":"state","payloadType":"flow","topic":"homie/homeypro/light-book-shelf/onoff/set","x":701,"y":1120,"wires":[["3d0e4074.ce98e"]]},{"id":"4c3f2b7f.da9794","type":"function","z":"9235bbe0.d90a78","name":"State2Color","func":"if (msg.payload === \"true\"){\n msg.color = \"#FFAA00\"; \n flow.set(\"state\", \"false\");\n}\nelse {\n msg.color = \"#44AAFF\";\n flow.set(\"state\", \"true\");\n }\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":490,"y":1120,"wires":[["d2393ce2.1da33"]]},{"id":"e460e8a.9aac518","type":"ui_group","z":"","name":"Verlichting Woonkamer","tab":"231f8919.1c14b6","order":3,"disp":true,"width":"6","collapse":true},{"id":"231f8919.1c14b6","type":"ui_tab","z":"","name":"Home","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![stoffers](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@stoffers](https://discourse.nodered.org/u/stoffers)\
**Post date:** [16 October 2020 11:49 UTC](https://discourse.nodered.org/t/button-texts-dont-show-occasionally-go-missing/33488/2 "2020-10-16T11:49:35Z")

</div>

> [@stoffers](#):
>
> I can trigger the issue always by moving to another flow, and then come back to the flow with the buttons.

> seems to be an interaction with your choice of property name :-)... the name "color" seems to upset it.. - so the workaround seems to be to pick another variable name for now...

I have changed the msg.color property to another name and the problem does not appear anymore. Although a workaround, this works fine.

---

<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:** [30 October 2020 11:49 UTC](https://discourse.nodered.org/t/button-texts-dont-show-occasionally-go-missing/33488/3 "2020-10-30T11:49:37Z")

</div>

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