File uploader - How to reset?

Hello! Just a quick question. Is there any way to “reset” the File Uploader component? Either through HTML or any other way.

The thing is that after uploading the files to the server, the UI stays the same (


), and is rather bothering to my users. I’m also trying to reset it through a button because I’m building something similar to a form in a custom app and I have a “reset” button that clears the rest of the input fields, but I haven’t found a way for it to do it to the file uploader component.

Thanks in advance for your time and help :smiley:

@asilvaPasteursoft is this using UIFlow?

Not that I’m aware of. Just a regular out-of-the-box sample app that I started modifying.

Thanks. Can you let me know which file uploader components are you referring to?

FwFileUploader :slight_smile:

Thanks for the confirmation @asilvaPasteursoft. Let’s wait for the Crayons team to chime in.

Hi @asilvaPasteursoft ,

Currently, the file uploader does not have a method to reset the file-uploader. We will try to bring this feature to the component on our next Crayons release.

Thanks.

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