Skip to content

[BUG] dcc.DatePickerRange component: component does not accept manual date #1178

@rmmariano

Description

@rmmariano

Describe your context

Please provide us your environment so we can easily reproduce the issue.

dash                 1.10.0 
dash-core-components 1.9.0  
dash-html-components 1.0.3  
dash-renderer        1.3.0  
dash-table           4.6.2
  • if frontend related, tell us your Browser, Version and OS

    • OS: Ubuntu 16.04 LTS
    • Browser: Firefox
    • Version: 75.0 (64-bit)

Describe the bug

I'm trying to use dcc.DatePickerRange component in my application in order to create a date picker range to my graph.

When I try to insert a manual date inside the input, the new value is saved, but it is not showed on the calendar.

Expected behavior

I believe the expected behavior would be the component accept manual date and the calendar date changes to the new value as the current one.
For example: my current year is 2016 and I would like to go to 2019, then I write 2019 on the component and the calendar changes its year to 2020, instead of being showing 2016.

Reproducible example

A reproducible example can be found here. I've created this branch from an application I'm starting developing. The steps to run the application are described inside the README.md file. This branch does not need database connection, then set the environment variables is not necessary, in other words, the step set -a && source dash.env && set +a is not needed to run.

Screenshots

My application:

catalog-dash-2

dcc.DatePickerRange example:

calendar

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions