Date Range Picker doesn't apply automatically on initial load

I am initialising a date Range picker with today’s date as start and end date. However, it doesn’t apply automatically once the page loads. The user has to go apply it manually as in the video. How can this happen on page load itself?


Custom Portal — Watch Video

Picker code looks like this:
Screenshot 2020-09-26 at 5.03.25 PM

Community Page
Last updated: