3 thoughts on “Angular Datepicker with Range Selection like vue.js”

  1. You can use the following component with the help of Angular Material :

    <mat-form-field>
      <mat-label>Enter a date range</mat-label>
      <mat-date-range-input [rangePicker]="picker">
        <input matStartDate matInput placeholder="Start date">
        <input matEndDate matInput placeholder="End date">
      </mat-date-range-input>
      <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
      <mat-date-range-picker #picker></mat-date-range-picker>
    </mat-form-field>

    link to Stackblitz may help you more:

    https://stackblitz.com/edit/angular-10-date-picker-range-example?file=src%2Fapp%2Fdate-range-picker-overview-example.ts

    Reply

Leave a Comment