How to reset widget when upload is complete?
To remove file from the widget, after you finished upload, you have to call widget’s value()
method with null
:
uploadcare.Widget('#file-uploader').value(null);
Also, users can widget manually.For more information, see Clearable.