✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Trigger Upload component callback even if the file uploaded is the same

I am using an Upload component and everything is working fine except for the fact that if I choose to upload the same file, the contents property does not trigger the callback I set to deal with the uploaded file. I need it to trigger because I also make some updates to my layout according to whether something was uploaded or some default content.

My question is, is there a way to always trigger the Upload component even if the uploaded file is the same?

Thanks!

1 Like