# Specify key for ui-text

**URL:** https://discourse.nodered.org/t/specify-key-for-ui-text/87497
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [25 April 2024 18:38 UTC](https://discourse.nodered.org/t/specify-key-for-ui-text/87497 "2024-04-25T18:38:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [25 April 2024 18:52 UTC](https://discourse.nodered.org/t/specify-key-for-ui-text/87497/2 "2024-04-25T18:52:47Z")

</div>

Yes. It has been raised. Something I am a big fan of.

> <https://github.com/FlowFuse/node-red-dashboard/issues/92>
>
> \### Description
> 
> To avoid having to split up and shift around properties in my o…bject payload, please support a standard "property" input as a \`typedInput\`. Same as the built in switch node, file, range, etc, nodes do
> 
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/184f2856-e40c-4d0a-b40d-8b394f479251)
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/adf64214-d41f-47d3-ab88-3f46c2e7fe43)
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/697e4b78-ef67-45a8-9578-1f9c66e262fc)
> 
> I would recommend, to keep this simple, it would default to \`msg.payload\` and would only support \`msg\` and \`JSONata\`.  
> 
> Anyone who knows JSONata can use \`performance \* availability \* quality\` directly in the input property
> Anyone who doesn't know or like JSONata, can use a math node or other nodes to compute the OEE value then pass it into the ui-text node
> 
> 
> 
> This means given this payload:
> \`\`\`
> {
> name: "Cooling Stage 1"
> time: '16:00',
> cycleCount: 800,
> availability: 0.938,
> performance: 0.933,
> quality: 0.983
> OEE, "86%"
> productionHours: 8,
> partCount: 700,
> targetCount: 800,
> scrap: 12
> }
> \`\`\`
> 
> I can change this...
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/e75875dc-2951-4850-83f0-b704fdc5e76a)
> 
> 
> 
> into this...
> 
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/63c8fc29-ac09-4a66-b163-6bafb522f504)
> 
> 
> 
> 
> 
> 
> \### Have you provided an initial effort estimate for this issue?
> 
> I have provided an initial effort estimate

But it has been on the backlog now for almost 10 months ☹

---

_[View the full topic](https://discourse.nodered.org/t/specify-key-for-ui-text/87497)._
