Skip to content

Commit 3930da2

Browse files
dtslvrjosephperrott
authored andcommitted
Fix typo in datepicker example (#15327)
1 parent 3f876e2 commit 3930da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material-examples/datepicker-views-selection/datepicker-views-selection-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ export class DatepickerViewsSelectionExample {
5151
this.date.setValue(ctrlValue);
5252
}
5353

54-
chosenMonthHandler(normlizedMonth: Moment, datepicker: MatDatepicker<Moment>) {
54+
chosenMonthHandler(normalizedMonth: Moment, datepicker: MatDatepicker<Moment>) {
5555
const ctrlValue = this.date.value;
56-
ctrlValue.month(normlizedMonth.month());
56+
ctrlValue.month(normalizedMonth.month());
5757
this.date.setValue(ctrlValue);
5858
datepicker.close();
5959
}

0 commit comments

Comments
 (0)