Thanks!
you're payload and mine look identical, and neither of both is working for me.
Here's my sample flow
[
{
"id": "2d0c429dc57e5397",
"type": "tab",
"label": "radios",
"disabled": false,
"info": "",
"env": []
},
{
"id": "5a48e9deef115886",
"type": "function",
"z": "2d0c429dc57e5397",
"name": "function 5",
"func": "msg = {\n \"ui_update\": {\n \"label\": \"Livestock\",\n \"options\": [\n {\"value\":\"sheep\", \"label\": \"Ewes\"}, \n {\"value\":\"goats\", \"label\": \"Nannies\"}\n ]\n }\n}\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 525,
"y": 180,
"wires": [
[
"743d697d732e2d76",
"ccdaf331c03c6ac2"
]
],
"l": false
},
{
"id": "dab4bc3e32e6a077",
"type": "inject",
"z": "2d0c429dc57e5397",
"name": "Test1",
"props": [
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "Test 1",
"x": 410,
"y": 180,
"wires": [
[
"5a48e9deef115886"
]
]
},
{
"id": "743d697d732e2d76",
"type": "ui-radio-group",
"z": "2d0c429dc57e5397",
"group": "82cd48b1245f94e0",
"name": "",
"label": "Select Option:",
"order": 2,
"width": 0,
"height": 0,
"columns": 1,
"passthru": false,
"options": [],
"payload": "",
"topic": "topic",
"topicType": "msg",
"className": "",
"x": 625,
"y": 220,
"wires": [
[]
],
"l": false
},
{
"id": "750937df1713f138",
"type": "function",
"z": "2d0c429dc57e5397",
"name": "function 6",
"func": "msg = {\n \"ui_update\":{\n \"label\" : \"Test label\",\n \"options\":[\n {\"value\":\"10\",\"label\":\"Kids\"},\n {\"value\":\"11\",\"label\":\"Playroom\"},\n {\"value\":\"12\",\"label\":\"Kitchen\"}\n ]\n }\n}\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 525,
"y": 220,
"wires": [
[
"743d697d732e2d76",
"ccdaf331c03c6ac2"
]
],
"l": false
},
{
"id": "984d3c31ed733170",
"type": "inject",
"z": "2d0c429dc57e5397",
"name": "Test 2",
"props": [
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "Test2",
"x": 410,
"y": 220,
"wires": [
[
"750937df1713f138"
]
]
},
{
"id": "ccdaf331c03c6ac2",
"type": "debug",
"z": "2d0c429dc57e5397",
"name": "debug 996",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 625,
"y": 180,
"wires": [],
"l": false
},
{
"id": "82cd48b1245f94e0",
"type": "ui-group",
"name": "Radio-button-test",
"page": "f2fcbbc30322192c",
"width": "6",
"height": "1",
"order": -1,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "f2fcbbc30322192c",
"type": "ui-page",
"name": "radio-button-test",
"ui": "cb79bc4520925e32",
"path": "/rbt",
"icon": "home",
"layout": "grid",
"theme": "2220d11175c576f3",
"order": -1,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "cb79bc4520925e32",
"type": "ui-base",
"name": "My UI",
"path": "/dashboard",
"includeClientData": true,
"acceptsClientConfig": [
"ui-notification",
"ui-control",
"ui-text"
],
"showPathInSidebar": false,
"showPageTitle": true,
"titleBarStyle": "default"
},
{
"id": "2220d11175c576f3",
"type": "ui-theme",
"name": "Theme DB2",
"colors": {
"surface": "#ffffff",
"primary": "#0094ce",
"bgPage": "#eeeeee",
"groupBg": "#ffffff",
"groupOutline": "#cccccc"
},
"sizes": {
"pagePadding": "12px",
"groupGap": "12px",
"groupBorderRadius": "4px",
"widgetGap": "12px",
"density": "default"
}
}
]