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

The behavior of Vue Formulate File Input is incorrect during uploading #579

Open
jc-rses opened this issue Apr 25, 2023 · 0 comments
Open
Labels
bug report A submitted bug report, not yet validated.

Comments

@jc-rses
Copy link

jc-rses commented Apr 25, 2023

I am attempting to load both a non-valid file and a valid file, but this behavior is incorrect because the non-valid file should not be uploaded to the server. Additionally, this behavior only occurs after the valid file has been loaded for the second time, resulting in two files being uploaded to the server.

Steps to reproduce the behavior:

  1. Go to example
  2. First, add a non-valid file, and then add a valid file
    Video: https://monosnap.com/direct/VYwWCadf5Hf0OIHwdkD5bRlXq7BaLg

CodePen:

https://codepen.io/jc-rses/pen/jOeBdGd

Expected behavior
The files that have not been validated and have non-valid extensions are not uploading to the server.

Device information:

  • Browser [Google Chrome]
  • Version [112.0.5615.121]
@jc-rses jc-rses added the bug report A submitted bug report, not yet validated. label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report A submitted bug report, not yet validated.
Projects
None yet
Development

No branches or pull requests

1 participant