How to reset widget when upload is complete?

To remove a file from the widget, after you’ve finished uploading, call the widget’s value() method with null:

uploadcare.Widget('#file-uploader').value(null);

Also, users can clear the widget manually. To enable the reset button, enable the clearable option in widget settings. For more information, see Clearable.