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
And set files to null or (new DataTransfer()).files, after having chosen a file, input.files still contains the file chosen. The only way to properly reset both files and input.files is setting them both to (new DataTransfer()).files.
Describe the bug
If you have an input like so:
And set files to
null
or(new DataTransfer()).files
, after having chosen a file, input.files still contains the file chosen. The only way to properly reset bothfiles
andinput.files
is setting them both to(new DataTransfer()).files
.Reproduction
https://svelte.dev/repl/c0813e09c2f744e499e86975c9eea13f?version=3.55.1
Logs
No response
System Info
Browsers: Firefox 110.0; Chrome 110.0.5481.177 OS: Window 10 Svelte Version: 3.55.1
Severity
annoyance
The text was updated successfully, but these errors were encountered: