Skip to content

MDDatePicker: Add .set_date(year, month, day)

As per request of @dzmitrykrukouski. Slightly modified from their implementation, due to some issues with the suggested code. Also added some better handling for when the month is too high or low for datetime.date.

Usage:

<MDDatePicker>.set_date(year, month, day)

Merge request reports