I currently have a web application that’s deployed on a server and since its only made to run once and its set to be live, the start date always remains the same (the same day the application was hosted/updated). How can I dynamically change the start date filter option when the user loads the application the next day?
I have already implemented the suggestion dash had in its documentation of putting all the html divs and dropdown components in a function which I also named “serve_layout”
I’m also calling serve_layout by adding the line: app.layout = serve_layout.
Even after I do this, the date isn’t changing based on the day the application is loaded in the user’s browser.