# A suggestion for the newer version of NR - when it comes out

**URL:** https://discourse.nodered.org/t/a-suggestion-for-the-newer-version-of-nr-when-it-comes-out/2975
**Category:** Feature Requests
**Created:** [9 September 2018 01:26 UTC](https://discourse.nodered.org/t/a-suggestion-for-the-newer-version-of-nr-when-it-comes-out/2975 "2018-09-09T01:26:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [9 September 2018 01:26 UTC](https://discourse.nodered.org/t/a-suggestion-for-the-newer-version-of-nr-when-it-comes-out/2975/1 "2018-09-09T01:26:28Z")

</div>

Though possibly "petty" this has caught my attention a few times lately:

The TEXT NODE:  
It is always in the order: label value. Never value label.  
(See attached)

(And I am sure this applies to other nodes as well....)

SOMETIMES it may be nice to have the value then the label.

 ![Screenshot%20from%202018-09-09%2011-24-43](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/0cfe84802ec37d479742df7dd084e66e91098b46.png)

Just a thought.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [9 September 2018 02:07 UTC](https://discourse.nodered.org/t/a-suggestion-for-the-newer-version-of-nr-when-it-comes-out/2975/2 "2018-09-09T02:07:09Z")

</div>

If you store label as a message property (eg. msg.label) than you can use a function node to swap msg.payload and msg.label

![r-01](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/d1021d3d8b22031af0d8a114b819f5d2a1e6dc25.png)

Flow:

```auto
[{"id":"55d6a657.fff118","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"a7ade488.4b36b8","type":"inject","z":"55d6a657.fff118","name":"","topic":"","payload":"Value","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":190,"y":200,"wires":[["77ba2eae.4bc25"]]},{"id":"818bb9c5.5b8558","type":"ui_text","z":"55d6a657.fff118","group":"c22b50e5.35a44","order":0,"width":0,"height":0,"name":"","label":"{{msg.label}}","format":"{{msg.payload}}","layout":"row-left","x":750,"y":200,"wires":[]},{"id":"77ba2eae.4bc25","type":"function","z":"55d6a657.fff118","name":"Set Label","func":"msg.label = \"LABEL\";\nreturn msg;","outputs":1,"noerr":0,"x":330,"y":200,"wires":[["9ebe3a9d.3ccf58"]]},{"id":"60ca5d25.c33434","type":"debug","z":"55d6a657.fff118","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":750,"y":120,"wires":[]},{"id":"9ebe3a9d.3ccf58","type":"function","z":"55d6a657.fff118","name":"Swap Label and Value","func":"let a = msg.payload;\nlet b = msg.label;\nmsg.payload = b;\nmsg.label = a;\nreturn msg;","outputs":1,"noerr":0,"x":540,"y":200,"wires":[["818bb9c5.5b8558","60ca5d25.c33434"]]},{"id":"c22b50e5.35a44","type":"ui_group","z":"","name":"Group 1","tab":"44961e53.9365d","disp":true,"width":"8","collapse":false},{"id":"44961e53.9365d","type":"ui_tab","z":"","name":"Tab1","icon":"dashboard"}]

```

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [9 September 2018 02:16 UTC](https://discourse.nodered.org/t/a-suggestion-for-the-newer-version-of-nr-when-it-comes-out/2975/3 "2018-09-09T02:16:45Z")

</div>

Ok.

But if "noobs" use the text node (as is) and don't know about that trick it could be annoying.

As it is an option in/on the node, I thought I would mention it as it has caught me a couple of times.
