this.$refs.pond.removeFiles() and this.$refs.pond._pond.removeFiles() don't work #262
Open
2 tasks done
Labels
bug
Something isn't working
Is there an existing issue for this?
Have you updated Vue FilePond, FilePond, and all plugins?
Describe the bug
Hello team.
While trying to migrate to Vue 3, we noticed that filepond's
removeFiles
method is not working while in Vue 2 it was working just fine.We are expecting the uploaded files to be removed and the component to be in the initial state, but the files are not removed at all in Vue 3, while in Vue 2 they were removed as expected.
Reproduction
Our implementation is with options api.
It is like when accessing this.$refs.pond, it is totally another component instance because logging
this.$refs.pond.$el
input id has different hash from the one rendered in the browser.Environment
The text was updated successfully, but these errors were encountered: