mui/material-ui-pickers

[QUESTION]: showTodayButton is there an event linked to it?

simplecommerce opened this issue · 0 comments

Hi,

I am testing the dynamic data here: https://material-ui-pickers.dev/demo/datepicker#dynamic-data

It is a great feature, but I noticed some issues.

If we want to load dynamic data using onOpen, we can use the same logic, but there won't be a spinner to indicate loading progress and also the current date is not passed to the onOpen function.

But the main question is this, I have followed your example for both onMonthChange and onYearChange, it works great, but I noticed that there doesn't seem to be a callback for when we click on the "Today" button.

Am I mistaken? Any ideas on how I could make it work also when clicking the "Today" button?

I am using the latest stable version.

Thanks!