I m using Ionic datetime component in my ionic app
<ion-datetime
displayFormat="YYYY/MM/DD"
pickerFormat="YYYY MMMM DD" [(ngModel)]="summaryDate"
(ionChange)="getDashboardItemsByDate()">
</ion-datetime>
and in .ts file I set default date to current date like this
public summaryDate: any = new Date().toISOString();
This works perfectly fine, but however the problem I have is, it invokes ionChange event at the beginning (as I have set default value for this component). I just want to trigger this event when user selects the date not at the beginning when I set its default value.
Any help?