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

[Bug] Filepond process cannot read metadata and file size at the same time #263

Open
2 tasks
positivedeveloper36 opened this issue Sep 11, 2022 · 0 comments
Open
2 tasks
Labels
bug Something isn't working

Comments

@positivedeveloper36
Copy link

positivedeveloper36 commented Sep 11, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Have you updated Vue FilePond, FilePond, and all plugins?

  • I have updated FilePond and its plugins

Describe the bug

My module has add form and edit form. In the edit form, it will show uploaded files

But my problem is each file displays same file size on all files

Reproduction

https://codesandbox.io/s/vue-filepond-live-demo-forked-tt1u1s

The displayed data was fetched from an API and sent using metadata to the filepond process and it worked. But the file size for all files is the same

If I uncomment this script :

     file: {
            name: this.filesFromApi[key].name,
            size: this.filesFromApi[key].size,
     },

It success get the file size correctly. But I can't get the metadata because process of filepond is not being called. You can try the code for make sure

Hope someone helps. Thanks

Environment

- Broser: Firefox, Chrome
- Vue version: Vue version 2.6
@positivedeveloper36 positivedeveloper36 added the bug Something isn't working label Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant