Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

dcc.DatePickerSingle() persistence not working #700

Closed
plotly/dash
#1376
@jezlax

Description

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.

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions