# Widget order in subflow not working with flowfuse dashboard 1.26

**URL:** <https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [26 July 2025 08:05 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326 "2025-07-26T08:05:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 July 2025 08:05 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/1 "2025-07-26T08:05:01Z")

</div>

[Version 1.26.0 of the flowfuse dashboard](https://github.com/FlowFuse/node-red-dashboard/releases/tag/v1.26.0) introduced the ability to order widgets in a subflow, but I can't get it to work. The attached flow includes a subflow with a gauge node, with order 0, and a text node with order 1, but it always shows the text node first.

Am I doing something wrong?

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

```flows
[{"id":"ea51a6e5e60fbfbf","type":"subflow","name":"D2 subflow test","info":"","category":"","in":[{"x":50,"y":248.1818084716797,"wires":[{"id":"fe8fd7d50933da05"},{"id":"f4e17772f089c98d"}]}],"out":[],"env":[{"name":"Group","type":"ui-group","value":"","ui":{"type":"conf-types"}}],"meta":{},"color":"#DDAA99"},{"id":"fe8fd7d50933da05","type":"ui-text","z":"ea51a6e5e60fbfbf","group":"${Group}","order":"1","width":"4","height":"1","name":"Subflow Text","label":"Subflow Text","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":440,"y":340,"wires":[]},{"id":"f4e17772f089c98d","type":"ui-gauge","z":"ea51a6e5e60fbfbf","name":"Subflow Gauge","group":"${Group}","order":0,"value":"payload","valueType":"msg","width":3,"height":3,"gtype":"gauge-half","gstyle":"needle","title":"Subflow Gauge","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":460,"y":260,"wires":[[]]},{"id":"6c568ba45753f5d3","type":"inject","z":"997da33a0beedade","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"5","payloadType":"num","x":100,"y":40,"wires":[["bb75ba2bc34560d9","a40e893fdd63e980"]]},{"id":"bb75ba2bc34560d9","type":"subflow:ea51a6e5e60fbfbf","z":"997da33a0beedade","name":"D2 subflow test 1","env":[{"name":"Group","value":"4f87bd59a15b847e","type":"conf-type"},{"key":"DB2_SF_ORDER","value":2,"type":"str"}],"x":310,"y":40,"wires":[]},{"id":"ec5cf7c555d51b2b","type":"global-config","env":[],"modules":{"@flowfuse/node-red-dashboard":"1.26.0"}}]

```

---

<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:** [26 July 2025 08:15 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/2 "2025-07-26T08:15:32Z")

</div>

See this topic from a few days ago. [Widget arrangement in a subflow](https://discourse.nodered.org/t/widget-arrangement-in-a-subflow/98194)  
And the relevant pull request [Allow basic widget ordering of widgets in a subflow by Steve-Mcl · Pull Request #1759 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/pull/1759)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 July 2025 08:21 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/3 "2025-07-26T08:21:05Z")

</div>

What should I see in particular? The PR is included in 1.26.0

---

<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:** [26 July 2025 08:30 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/4 "2025-07-26T08:30:36Z")

</div>

I would think you raise the issue/bug there, That's what i meant

---

<div class="post-metadata">

**Author:** ![rewegit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rewegit/32/4778_2.png) [@rewegit](https://discourse.nodered.org/u/rewegit)\
**Post date:** [26 July 2025 10:30 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/5 "2025-07-26T10:30:43Z")

</div>

Your flow behaves as expected for me. (flowfuse dashboard 1.26)

 ![2025-07-26_12-21-47](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/6/765e7d6515114d4b8dace56bd98c35d6940ceb05.png)  
 ![2025-07-26_12-27-32](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/4/d415fc35391b12da9d8bd2641095719ab7219e93.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 July 2025 12:31 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/6 "2025-07-26T12:31:43Z")

</div>

I am not at my computer at the moment. Did it work with 0 and 1 as the order?

It defaults to 0 so I assumed 0 and 1 should be ok.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 July 2025 12:54 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/7 "2025-07-26T12:54:57Z")

</div>

Ignore that. Having messed about with the numbers and deployed a few times it is now working with 0 and 1, so something odd is going on. Possibly to do with the fact that the subflow and nodes existed before I upgraded.

I will see if I can get back to a failing condition again.

---

<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:** [25 August 2025 12:55 UTC](https://discourse.nodered.org/t/widget-order-in-subflow-not-working-with-flowfuse-dashboard-1-26/98326/8 "2025-08-25T12:55:26Z")

</div>

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