# DatePicker with no default dates set

**URL:** <https://community.plotly.com/t/datepicker-with-no-default-dates-set/11735>\
**Category:** Dash Python\
**Created:** [July 13, 2018, 9:04am UTC](https://community.plotly.com/t/datepicker-with-no-default-dates-set/11735 "2018-07-13T09:04:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![squadran2003](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/squadran2003/32/3437_2.png) [@squadran2003](https://community.plotly.com/u/squadran2003)\
**Post date:** [July 13, 2018, 9:04am UTC](https://community.plotly.com/t/datepicker-with-no-default-dates-set/11735/1 "2018-07-13T09:04:51Z")

</div>

Hi All

I using the DatePickerRange component but I don’t want to show any dates till the user clicks and selects his or her start or end date. If I don’t provide a start and end date to a picker, it just doesn’t work .

my code below

```
html.Div([
                html.H5("Filter by date range:",className="one columns"),
                dcc.DatePickerRange(
                    id=self.title+'my-date-picker-range',
                    display_format='DD-MM-YYYY',

                ),
            ],id=self.title+"output-container-date-picker-range",style={"marginTop":5}),

```

The way it is now, this is what i get ![datepicker](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/a/a07ba2d131b06e661f6579110854ddb949eba41f.png)

but when the user clicks the start date there is no drop down? what am I doing wrong?

thanks  
Andreas
