I searched for this topic and found the below thread:
@dceejay mentioned in that thread that some solution will be available in V3.
My node red version is v3.0.0
Do we have some solution for this issue?
my example flow is as below:
[
{
"id": "0e8399675eac0a78",
"type": "inject",
"z": "557e2ceff4868f83",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"date\":\"2022-07-29\",\"time\":\"22:15\"}",
"payloadType": "json",
"x": 550,
"y": 1640,
"wires": [
[
"e42debc79e43f9fe"
]
]
},
{
"id": "e42debc79e43f9fe",
"type": "ui_form",
"z": "557e2ceff4868f83",
"name": "date_time_test",
"label": "table",
"group": "80c78b5e6273ec34",
"order": 4,
"width": 17,
"height": 1,
"options": [
{
"label": "date",
"value": "date",
"type": "date",
"required": true,
"rows": null
},
{
"label": "time",
"value": "time",
"type": "time",
"required": true,
"rows": null
}
],
"formValue": {
"date": "",
"time": ""
},
"payload": "",
"submit": "SAVE",
"cancel": "CANCEL",
"topic": "topic",
"topicType": "msg",
"splitLayout": true,
"className": "",
"x": 800,
"y": 1640,
"wires": [
[]
]
},
{
"id": "80c78b5e6273ec34",
"type": "ui_group",
"name": "test",
"tab": "b7e619d0975936a4",
"order": 4,
"disp": true,
"width": "17",
"collapse": false,
"className": ""
},
{
"id": "b7e619d0975936a4",
"type": "ui_tab",
"name": "batch_entry",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]
and on dashboard form, I find that date field is prefilled correctly but time field is Empty.
Please advise how to solve this.
Thanks.