Ionic 4: Remove weekends from ion-datetime


I’m looking for a way to remove/disabled weekend dates from ion-datetime component.

I could use dayValues property but for that, I need to know which month is currently selected, in order to change dayValues property value dynamically.

For instance, think about the behavior already implemented when you select 31 as date and then you change the month to February. You will notice the values: (29), 30, 31 for ‘date’ column will get removed. That’s exactly I’m trying to get with weekends. There is a way to listen that month-change event?