Hello,
I'm trying to set the value of date input, in the form element. So I tried to inject the time in by json object, just like you do with other input types in form. But for some reason it doesn't work. Input value stays blank after injecting data. I have no clue what am I doing wrong.
Here's my flow:
[{"id":"8c8e52738736b72b","type":"ui_form","z":"7aeceadca429cc4c","name":"","label":"","group":"d17d627c5ecd8fd8","order":12,"width":4,"height":1,"options":[{"label":"Time","value":"text123","type":"time","required":true,"rows":null}],"formValue":{"text123":""},"payload":"","submit":"submit","cancel":"cancel","topic":"0","topicType":"str","splitLayout":"","x":350,"y":80,"wires":[[]]},{"id":"573bb5c765f76643","type":"inject","z":"7aeceadca429cc4c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"text123\": \"12:00\"}","payloadType":"json","x":170,"y":80,"wires":[["8c8e52738736b72b"]]},{"id":"d17d627c5ecd8fd8","type":"ui_group","name":"Group 1","tab":"c77ac24ef7619a05","order":1,"disp":true,"width":6},{"id":"c77ac24ef7619a05","type":"ui_tab","name":"Tab 4","icon":"dashboard","order":4}]