Stop Dash Core Componet From Resetting

Hi there,

How can I stop the input boxes from resetting when a user clicked on ‘Select Files’ from upload file component? Please kindly advise.

Thank you

@mechpin21Thanks for feedback. This does indeed seem very odd. Could you provide an example code that exhibits the behavior you are experiencing and the version of Dash (and dash components packages) in your environment. I’ll gladly look into it. Thanks.

Thank you for your help. I was able to figure out the problem and fixed. I simply removed href.

Originally I have:
html.A(id=“Select Files”, href="#", className=…etc)

Now it is:
html.A(id=“Select Files”, className=…etc)

That resolved my problem.