reset the input type file field to blank in typescript code example Example: javascript set file input value to null document.getElementById("myInputFileID").value=null;