Skip to content

Commit

Permalink
fix(datepicker): add missing forwardRef
Browse files Browse the repository at this point in the history
  • Loading branch information
maxokorokov committed Nov 29, 2022
1 parent 57e91f9 commit 1e68c9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/datepicker/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
ElementRef,
EventEmitter,
forwardRef,
Inject,
Input,
NgZone,
OnChanges,
Expand Down Expand Up @@ -179,7 +180,7 @@ export class NgbDatepickerMonth {

constructor(
public i18n: NgbDatepickerI18n,
public datepicker: NgbDatepicker,
@Inject(forwardRef(() => NgbDatepicker)) public datepicker: NgbDatepicker,
private _keyboardService: NgbDatepickerKeyboardService,
private _service: NgbDatepickerService,
) {}
Expand Down

0 comments on commit 1e68c9b

Please sign in to comment.