Use a calendar to pick a date within a range. The calendar is an expanded form of a date picker.
mode='day' to show a calendar.
Set initial date¶
value= to pre-select a date.
Dates must be in ISO 8601 format. Date-only strings (e.g. "1970-01-01") are treated as UTC, not local.
Set min date¶
min= to specify a minimum date.
Set max date¶
max= to specify a maximum date.
Combine min and max dates¶
max= to restrict selection between two dates.
range= to a
(min, max) tuple to restrict selection between two dates.
This is a shorthand notation for setting
Handle changes immediately¶
mode to handle changes immediately.
disabled=True to disable.