Open positivedeveloper36 opened 1 year ago
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
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
metadata
process
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
- Broser: Firefox, Chrome - Vue version: Vue version 2.6
Is there an existing issue for this?
Have you updated Vue FilePond, FilePond, and all 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 filepondprocess
and it worked. But the file size for all files is the sameIf I uncomment this script :
It success get the file size correctly. But I can't get the
metadata
becauseprocess
of filepond is not being called. You can try the code for make sureHope someone helps. Thanks
Environment