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
I tried to find another way to use the event onupdatefiles, because its the only one event which supports sync-uploading.
First try, but failed
Reproduction
In this sandbox, I am using the conditional rendering to render different FilePond for different state. But it turns out, that even the FilePond component is changed, the registed event function stays the same.
Is there an existing issue for this?
Have you updated FilePond and its plugins?
Describe the bug
Im using a select to control a state "mode" in react. Each time you update the select, the value in "mode" will be changed.
Im want to get the current state when the files are updated (added and deleted). For that I tried two events: onupdatefiles and onaddfile.
Expected: Both event can get the current state. Or at least, both of them get the same value.
Actuall: onaddfile got the updated value, onupdatefiles got always init value.
Reproduction
Codesandbox
which means:
Environment
The text was updated successfully, but these errors were encountered: