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?


1 Like