Reset input "file" value in ui-template html code

Hi all, I'm using html code inside ui-template node to define a "file" input which let me choose file from a folder. I would like reset chosen file when a msg. Payload arrives inside ui-template node. It is possible? Many thanks in advance

A bit vague on what you are asking but using should work

scope.$watch('msg', function(msg) {
   // Reset file name

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.