Skip to content

[Bug] Vue FilePond v-on:processfiles not working, event is not firing. #888

Open
@mrkazmierczak

Description

@mrkazmierczak

Is there an existing issue for this?

  • I have searched the existing issues

Have you updated FilePond and its plugins?

  • I have updated FilePond and its plugins

Describe the bug

vue-filepond version

FilePondProcessFileStart is working when files start loading I have info in console that Process File Start and the submit button is changing state to loadingFiles = true, but when all files are processed and upload is complete handleFilePondProcessFiles is not showing console message All files process so I think this even is not fired when all files are processed and the state of submit button is not change to loadingFiles = false.

Reproduction

I have added to the FilePond component those two event handlers to block submit button.

v-on:processfiles="handleFilePondProcessFiles"
v-on:processfilestart="handleFilePondProcessFileStart"

In my methods
handleFilePondProcessFileStart() {
this.loadingFiles = true;
console.log('Process File Start');
},
handleFilePondProcessFiles() {
this.loadingFiles = false;
console.log('All files processed');
},

My submit button has :disabled = loadingFiles state

Environment

- Device: mac
- OS: macOS Mojave
- Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions