Skip to content

Feature Request: Add ability to remove file from input #56

@JakeUrban

Description

@JakeUrban

What problem does your feature solve?

When I upload a file to an input field, sometimes I would like to remove that file or "clear" it, but I cannot do that unless I click the input field and select "cancel" in the file selection menu.

One of the reasons this is needed is because if I try to re-upload the same filename with new contents, the new content is not loaded. This means users need to clear the file in order to re-upload.

What would you like to see?

An "x" or "clear" button that allows users to remove files from the input field. Ideally we can also pass a function that is executed when a file is cleared as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions