# Dynamic controls

**URL:** <https://discourse.nodered.org/t/dynamic-controls/1465>\
**Category:** Dashboard\
**Created:** [9 July 2018 13:26 UTC](https://discourse.nodered.org/t/dynamic-controls/1465 "2018-07-09T13:26:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![real-prometheus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/real-prometheus/32/1079_2.png) [@real-prometheus](https://discourse.nodered.org/u/real-prometheus)\
**Post date:** [9 July 2018 13:26 UTC](https://discourse.nodered.org/t/dynamic-controls/1465/1 "2018-07-09T13:26:18Z")

</div>

Hi,

I'm trying to build a "ui component" with subflow. So I can set the label und values dynamically based on the payload, but cannot set the tabs/group properties.

Is this right or does somebody know how to solve that?

I would be happy to set these (and other) values by a configuration of the subflow (somehow)

Thx

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 July 2018 20:46 UTC](https://discourse.nodered.org/t/dynamic-controls/1465/2 "2018-07-09T20:46:43Z")

</div>

the ui components do not work well with subflows - for exactly the reason you mention.

If you just need to set the labels the you can use {{ foo }} like syntax as per the info.

If you want a fully dynamic composition of ui then you may ned to look at something like the ui\_builder project here you have total control over the framework and can build he widgets as you wish.
