Ignite UI for Angular is a complete library of Angular-native, Material-based Angular UI components with the fastest grids and charts, Pivot Grid, Dock Manager, Hierarchical Grid, and more.
If I bind the viewDateChanged event on an igx-month-picker in my template, nothing happens when I change the year.
igniteui-angular version: 17.2.5
browser: chrome
Steps to reproduce
Create a component with the following html code: <igx-month-picker (viewDateChanged)="viewDateChanged($event)" /> and the following ts code: viewDateChanged(event) { console.log(event) }.
Open up browser console
Change year with the arrows
Result
Nothing is written to the console, ie the event is never emitted
Expected result
The event to be emitted and my console.log(event) to show something.
Description
If I bind the
viewDateChanged
event on anigx-month-picker
in my template, nothing happens when I change the year.Steps to reproduce
<igx-month-picker (viewDateChanged)="viewDateChanged($event)" />
and the following ts code:viewDateChanged(event) { console.log(event) }
.Result
Nothing is written to the console, ie the event is never emitted
Expected result
The event to be emitted and my console.log(event) to show something.
Attachments
https://stackblitz.com/edit/bwrfbt?file=src%2Fapp%2Fmonthpicker-sample-1%2Fmonthpicker-sample-1.component.html