-
-
Notifications
You must be signed in to change notification settings - Fork 143
dcc.DatePickerSingle() persistence not working #700
Comments
Thanks for the report, investigating... that said, since the link is to a different view within the same dash app you may be able to do this more easily using |
@jezlax I'm guessing this If you strip out the (unused) time portion - something like |
Thanks @alexcjohnson - I will dev this rework today and let you know. |
@harryturr As discussed IRL, this is actionable in at least 3 ways
Please make sure the behavior is correct for all DateTime props of DatePickerSingle and DatePickerRange. |
@harryturr As a followup please update |
I'm on dcc 1.5.1 ... I have a date picker single which populates a date using the following...
dcc.DatePickerSingle(className = 'no-print', id='choose-date', date = datetime.today() - timedelta(hours=7), persistence=True, persistence_type='session')
however the persistence does not take. In this example, the date picker populates a set of links (html.A()) elements for the given date. The user then selects the link of choice to populate the remainder of the charts on the app.
While the date picker works fine, when the user selects the link, it triggers an HREF callback and the date picker resets to the default date. My goal is to have the date persist until the user exits the page.
The text was updated successfully, but these errors were encountered: