This happened to me on Chrome v88.0, and I tried everything — removing all the event handlers, making the simplest form possible, removing all other html and js from the page — and still the file-selection dialog would not appear when clicking the “Choose File” button.
Then I shut down Chrome and re-opened it … and it worked again.
Golden advice:
Have you tried turning it off and on again?