1

I have a single page application (singleSPA) that has a airbnb DatePicker in the second page.

When I load the app for the first time, the DatePicker loads default startDate and endDate correctly.

However, when I come back to the first page and go to the second page again, the DatePicker retains the selected dates and does not reload to default values.

How do I get the DatePicker component to reset to default values when I come back to the second page ?

0 Answers0