-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: onRemovedFile (or something similar) #116
Comments
I updated yesterday and ran into the same problem... c.c. @Bunlong |
We ran into the same issue, our solution was to revert back to v3 where you can use handleRemoveFile. Would be good to have this in v4 or at least a workaround in the changelog |
Running into the same issue. It would be really nice if we could get a handleRemoveFile method to override. |
@Angelfire @DanKellyRedcat @jadenmazzone Not sure if you still need assistance, but this is what worked for me to preserve both the onClick method from removeFileProps and calling in my own code.
|
In @rishipisipati 's code, replacing
|
I can't find a way to know when a file has been removed after it has been uploaded. Here is my code below (very similar to your example). For the remove file button, I tried adding an onClick so that I could capture when the user removed the file - but this just overwrites the getRemoveFileProps. So wondering if there is currently a way to know if a file has been removed and if not maybe it could work in a similar way to "onUploadAccepted", but obviously gets called when the file is removed.
Version 4.0.0
The text was updated successfully, but these errors were encountered: