Skip to content

Commit

Permalink
feat(material): add calendarHeaderComponent input for datepicker (#2871)
Browse files Browse the repository at this point in the history
fix #2814
  • Loading branch information
aitboudad committed Nov 30, 2021
1 parent a9c1a84 commit bc172ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/ui/material/datepicker/src/datepicker.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import { FieldType } from '@ngx-formly/material/form-field';
[startAt]="to.datepickerOptions.startAt"
[startView]="to.datepickerOptions.startView"
[touchUi]="to.datepickerOptions.touchUi"
[calendarHeaderComponent]="to.datepickerOptions.calendarHeaderComponent"
(monthSelected)="to.datepickerOptions.monthSelected(field, $event, picker)"
(yearSelected)="to.datepickerOptions.yearSelected(field, $event, picker)"
>
Expand Down

0 comments on commit bc172ad

Please sign in to comment.