You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
datepicker doesn't open if date values are None #115
@chriddyp
Hi Chris, I think the issue above is related to the fact, that DatePickerRange's attribute initial_visible_month isn't defined. Maybe the default value could be set (e.g. datetime.today()) and it would solve the issue (AirBnB's date-picker shows current month by default as well).
In the beginning when the date picker starts it prints as None- This is completley ok
However when you select some date and then let say clear those dates then it still shows the previous value but it should show as None since the dates are clear.
The problem with the initial approach is:
Let say we selected some date from and end; we get the data from those period- This is completley ok
However let say if we want only data which is less than the end period after previous selection.-------> here we are not able to do so since we still have from value which still has the previous value even if we clear it in the date picker
Activity
xblad commentedon May 14, 2018
@chriddyp
Hi Chris, I think the issue above is related to the fact, that
DatePickerRange's attributeinitial_visible_monthisn't defined. Maybe the default value could be set (e.g.datetime.today()) and it would solve the issue (AirBnB's date-picker shows current month by default as well).Add current date as the initial visible month
Add current date as the initial visible month
Add current date as the initial visible month
Fix for datepicker initial month
Fix for datepicker initial month
Fix merge conflicts in PR-201 (#383)
90debasish commentedon Feb 27, 2019
Hi Chris,
in the above example what i am facing issue is :
The problem with the initial approach is:
byronz commentedon Jul 29, 2019
issue has been fixed in