Clear file input

How do you clear a file input? Reset it to null?
I see things like : document.getElementById('your_input_id').value= null;
but I cannot get it to work in enyo.

also can not get multi select to work...


  • edited April 14
    I was able to get it via:
    var fileInput = document.getElementsByTagName("input");
    fileInput[0].value = null;
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!