Hi,
I am trying to send value to input element every 5 seconds to ui_template. First time it shows the right value sent by inject node. after editing the input value again input value not reseting automatically.
please refer the below code.
[{"id":"958896c9.0d3398","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"cf287c9e.82f1a","type":"ui_template","z":"958896c9.0d3398","group":"9779635d.8c4fc","name":"text","order":22,"width":"2","height":"1","format":"<input ng-model=\"user.input\"\n name=\"num\" \n type=\"number\"\n min=\"1\"\n max=\"999\"\n step=\"1\"\n \n onkeypress=\"return event.charCode >= 48 && event.charCode <= 57\"\n title=\"Numbers only\"\n value={{msg.payload}} ng-change=\"msg.payload = user.input; send(msg)\">","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":true,"templateScope":"local","x":810,"y":240,"wires":[[]]},{"id":"cc0cd063.6f7ff","type":"inject","z":"958896c9.0d3398","name":"","topic":"","payload":"1","payloadType":"num","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":610,"y":240,"wires":[["cf287c9e.82f1a"]]},{"id":"9779635d.8c4fc","type":"ui_group","z":"","name":"test1","tab":"e4a72112.80967","order":1,"disp":true,"width":"6","collapse":false},{"id":"e4a72112.80967","type":"ui_tab","z":"","name":"test1","icon":"dashboard","disabled":false,"hidden":false}]
It would be great if i get some assistance.