How to detect fileInput button click


#1

Hi,

I am working on adding some security checks in my shiny app. I would like to display a modal pop-up window when the users click on an fileInput Browse button. Right now the best I could get is to display the modal pop-up after the user has uploaded a file.

Is there a way to detect the click of the button rather than the change in the associated input object?

Thank you for your suggestions