You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you updated React FilePond, FilePond, and all plugins?
I have updated FilePond and its plugins
Describe the bug
I have created a useConfirm hook that returns a Promise by opening a dialog.
This works for beforeRemoveFile but not beforeAddFile.
Is this expected?
Besides, is there a way to use useConfirm before the file processes (aka. before uploading to the server)?
Hi @rikschennink, thank you for your response. I would never have thought commenting out the files / onupdatefiles block would work. I'll take a look at this in my free time.
Is there an existing issue for this?
Have you updated React FilePond, FilePond, and all plugins?
Describe the bug
I have created a
useConfirm
hook that returns aPromise
by opening a dialog.This works for
beforeRemoveFile
but notbeforeAddFile
.Is this expected?
Besides, is there a way to use
useConfirm
before the file processes (aka. before uploading to the server)?Reproduction
I have composed a CodeSandBox for demo purposes.
https://codesandbox.io/s/musing-kare-x82m3p?file=/src/Upload.js
Environment
The text was updated successfully, but these errors were encountered: