Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to reset file input and show file size and image/video/audio preview #134

Open
alejsanc opened this issue Dec 31, 2023 · 0 comments

Comments

@alejsanc
Copy link

If you fill out a text entry and later regret it, you can delete what you wrote. If you select a file then you cannot leave that input empty, you can only select another file. The file input should be able to have a small button to clear the field.

Other useful things would be to show the size of the selected file and a small preview if it is an image/video/audio

<input type="file" clear-button show-size show-preview />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant