Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

DatePickerRange: start date and end date the same

Hi!
Is there a proper way to select same date for start and end in the DatePickerRange?

If I open the app and lets say dates are the same 02-Sep-2020, then if I want to move the two dates to 01-Sep-2020 I need to first move start date to 01-Sep-2020 (which is fine) then I try to move end date to 01-Sep-2020, which does not allow me.

I need then to move start date to 31-Aug-2020 (or any previous date), then move end date to 01-Sep-2020, then finally move start date to 01-Sep-2020.

Is there a better way?

Have you tried setting the minimum_nights parameter equal to zero? Example shown in here: https://dash.plotly.com/dash-core-components/datepickerrange

1 Like