You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I tried to use this component in file upload modal.
You can see an issue here.
When you close the modal, the component still keeps file data, and you will see it again after re-opening the modal.
What I want to see here is initial message - Upload or drop a file right here instead of Uploaded Successfully! Upload another?.
How can we get it?
setFile(null) can only initialize the selected file name message as No file uploaded yet.
The text was updated successfully, but these errors were encountered:
Thanks for this easy-to-use library.
Recently, I tried to use this component in file upload modal.
You can see an issue here.
When you close the modal, the component still keeps file data, and you will see it again after re-opening the modal.
What I want to see here is initial message - Upload or drop a file right here instead of Uploaded Successfully! Upload another?.
How can we get it?
setFile(null)
can only initialize the selected file name message as No file uploaded yet.The text was updated successfully, but these errors were encountered: