IgniteUI / igniteui-angular

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.
https://www.infragistics.com/products/ignite-ui-angular
Other
568 stars 159 forks source link

viewDateChanged on IgxMonthPickerComponeent is not emitted #14370

Closed PooSham closed 2 weeks ago

PooSham commented 2 weeks ago

Description

If I bind the viewDateChanged event on an igx-month-picker in my template, nothing happens when I change the year.

Steps to reproduce

  1. Create a component with the following html code: <igx-month-picker (viewDateChanged)="viewDateChanged($event)" /> and the following ts code: viewDateChanged(event) { console.log(event) }.
  2. Open up browser console
  3. 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.

Attachments

https://stackblitz.com/edit/bwrfbt?file=src%2Fapp%2Fmonthpicker-sample-1%2Fmonthpicker-sample-1.component.html

PooSham commented 2 weeks ago

Note that this worked before 17.2