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

upload does not accept any new drag&drops after issuing a :too_many_files error #3368

Open
DaTrader opened this issue Jul 24, 2024 · 0 comments

Comments

@DaTrader
Copy link

Environment

  • Phoenix version (mix deps): 0.20.17

Actual behavior

The allow_upload/3 config is external, autoload, max_entries: 1

Once a :too_many_files error is issued for trying to upload more files when only 1 is allowed, it no longer accepts any new drag & drops, not event of a single file. It simply sticks to its original :too_many_files error and ignores the new drag & drops.

This only happens in case of a :too_many_files error. Uploading a file by drag & drop after a different error (e.g. :not_accepted, :external_client_failure) works properly.

Expected behavior

Obviously, a new drag & drop upload should be validated and taken into consideration regardless of the previous error.

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