I cannot figure out how to clear the file upload option on command. The problem that occurs in the project is that after the user saves their data, the file upload icon does not refresh back to the default icon we have chosen which looks like this image.
After uploading a file, there an "Upload Successful!" message that appears and a green checkmark.
Here is an image of what I am attempting to describe.
I would like to reset that with a line of code just like what would happen if the user clicked on that refresh circle the red arrow is pointing at. By clicking on that circle, the user would then see the following image again (the default icon).
In other words, how can I write code that does what the refresh circle option does?