I am using the Bootstrap UI Datepicker in Angular, and it is working OK. However, when i am in month view, the days outside the month have a CSS class on the span called text-muted which I have set to display:none.
This is all well and good - I cannot see the dates in other months now, which matches my design. But the enclosing buttons of these dates are still clickable, and there does not seem to be a class or hook of any kind to disable them. Any one solved this - I thought it would be a simple config on the Datepicker directive itself, but must be overlooking the answer?
So, if I am in May, I have turned off the dates for April and June, so you cannot see the dates, but the buttons are still clickable to go to those dates in the other months....
To clarify, if the current date is May, and I am looking at May in the view, I do not want to be able to see or click on dates in April or June. However, when I use the next month button, and am viewing the month of June, I do not want to be able to see dates in May or July.