2

I am using ngx-daterangepicker-material which shows current and next month for latest range.

<input type="text" 
    ngxDaterangepickerMd
    [locale]="{ 'format': 'MM/DD/YYYY'}"
    [(ngModel)]="selected"
    [ranges]="ranges"
    alwaysShowCalendars="true"
    name="daterange"/>

Is it possible to show previous and current month?

Stackblitz link is here

Shoaib Chikate
  • 8,665
  • 12
  • 47
  • 70
  • like this ? https://stackblitz.com/edit/angular-gmmlaz?file=src/app/app.component.ts – dota2pro Feb 20 '20 at 19:35
  • @dota2pro: For range "Today", the months displayed are Feb and Mar. If datepicker is used to select only dates before current date, then the right hand month March becomes useless as any date from it can't be selected – Shoaib Chikate Feb 21 '20 at 02:46

0 Answers0