'How to input file using drop area

I have a dropzone and an input(html), how do I connect them?

I need when I put a file in the dropzone, that this file would be written to the input(html).

Is there a way to do this. I am using Blazor Server, i also can use JS



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source