Search code examples
javascriptangularfrontendmaterial-uimat-datepicker

Is there any way to fill the empty week days cells(previous and next months) in mat-datepicker and mat-calendar


I'm setting a calendar to Help users to select dates, but i want to fill the empty cells at the start of the first week with the previous and next months

I'm using the Datepicker from Angular Material.

hrer is a picture link explains more : https://i.sstatic.net/sajAq.png


Solution

  • According to their API, you can't.

    You need to create your own custom calendar.