-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Input Value Is Cleared on Cancel After Open #71
Comments
I'm also having this problem |
I'm having this problem too but I've discovered that is the default behaviour: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file |
It looks like this does not happen in Firefox, but does happen in Chrome |
Actually I found out that it depends on the browser: on Chrome the file is
removed, on Firefox is not
…On Sat, 30 Jan 2021, 04:29 kelly, ***@***.***> wrote:
I'm having this problem too but I've discovered that is the default
behaviour:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
Are you sure about that? I just clicked one of their examples and it
didn't remove a previously selected value when I pressed cancel
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYRZDCSZO25YC6K2RQYMITS4N4J7ANCNFSM4T7XT7UQ>
.
|
Do we have a workaround for this on Chrome? |
Steps to reproduce:
Actual behavior:
Input value is cleared.
Expected behavior:
Input value remains "readme.txt".
The text was updated successfully, but these errors were encountered: