Use a week picker to pick a week in a given range.
mode='week' to show a week picker.
Set initial week¶
value= to pre-select a week.
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.