Hello.
New day, new learning.
I asked myself how to disable/enable a numberfield for example, depending on the state of a dropdown widget.
For example: If widget-dropdown (TimerManual) is TRUE enable/show numberfield A and B.
IF false disable/hide numberfield A and B
My HTML skills are still limited, but i am eager to change this. Here is my "flow" rn.
[
{
"id": "61bd57cae5e417f2",
"type": "ui_dropdown",
"z": "a485bbb8dbfee062",
"name": "",
"label": "TimerManual:",
"tooltip": "Change operating mode",
"place": "",
"group": "fa7c1f04e5714b54",
"order": 22,
"width": 3,
"height": 1,
"passthru": true,
"multiple": false,
"options": [
{
"label": "ENABLED",
"value": true,
"type": "bool"
},
{
"label": "DISABLED",
"value": false,
"type": "bool"
}
],
"payload": "",
"topic": "topic",
"topicType": "msg",
"className": "",
"x": 100,
"y": 240,
"wires": [
[
"e28fa5b08c199603"
]
]
},
{
"id": "9fa6ee2e8c1128ae",
"type": "ui_numeric",
"z": "a485bbb8dbfee062",
"name": "",
"label": "TimerManual_DosTime[s]:",
"tooltip": "",
"group": "fa7c1f04e5714b54",
"order": 27,
"width": 3,
"height": 1,
"wrap": false,
"passthru": true,
"topic": "topic",
"topicType": "msg",
"format": "{{value}}",
"min": "0",
"max": "260000",
"step": "1",
"className": "",
"x": 130,
"y": 300,
"wires": [
[
"00dc0a5cdb63e874"
]
]
},
{
"id": "a9eec94708083b2a",
"type": "ui_numeric",
"z": "a485bbb8dbfee062",
"name": "",
"label": "TimerManual_Interval[s]:",
"tooltip": "",
"group": "fa7c1f04e5714b54",
"order": 30,
"width": 3,
"height": 1,
"wrap": false,
"passthru": true,
"topic": "topic",
"topicType": "msg",
"format": "{{value}}",
"min": "0",
"max": "260000",
"step": 1,
"className": "",
"x": 130,
"y": 360,
"wires": [
[
"cd03f0789fdef3a5"
]
]
},
{
"id": "fa7c1f04e5714b54",
"type": "ui_group",
"name": "CONTROL",
"tab": "a42d8adbe9caeb3d",
"order": 1,
"disp": true,
"width": 16,
"collapse": true,
"className": ""
},
{
"id": "a42d8adbe9caeb3d",
"type": "ui_tab",
"name": "Pumpe_01_Oberwaltersdorf",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]
Thank you