Skip to content

Issue using FileUploader component in a modal need to be fixed #140

Description

@peppapig13132

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.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions