angular material datepicker range get value

Solutions on MaxInterview for angular material datepicker range get value by the best coders in the world

showing results for - "angular material datepicker range get value"
Alycia
26 Jan 2019
1// Template
2
3<mat-form-field appearance="standard">
4  <mat-label>{{reportField.value.label}}</mat-label>
5  <mat-date-range-input [rangePicker]="dateRangePicker">
6    <input matStartDate
7      placeholder="Start date"
8      #dateRangeStart>
9    <input matEndDate
10      placeholder="End date"
11      #dateRangeEnd
12      (dateChange)="dateRangeChange(dateRangeStart, dateRangeEnd)">
13  </mat-date-range-input>
14  <mat-datepicker-toggle matPrefix
15    [for]="dateRangePicker">
16  </mat-datepicker-toggle>
17  <mat-date-range-picker #dateRangePicker></mat-date-range-picker>
18</mat-form-field>
19