fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
249 stars 252 forks source link

show only first and last selected months in calendar #464

Closed lzhang0 closed 2 years ago

lzhang0 commented 2 years ago

Is there an option to show only first and last selected month in the calendar when we select a larger range of days?

For example, I have selected the last 90 days from the range selection, I want to see May on the left calendar and August on the right calendar not May and June the consecutive months.

Have tried [linkedCalendars]="false" and that will only show what I'm expecting when I click apply and reopen the picker.

fetrarij commented 2 years ago

hello @lzhang0 which version of the component do you use? agular version?

lzhang0 commented 2 years ago

@fetrarij thanks for resolving this so quickly! We are using angular 11, will the fix be available for v5.x.x?