Hi, I am working with @ionic/angular 7.0.4, and I have found that, at least with my setup, that ionChange
is not being called when ion buttons added.
<ion-datetime
#datetime
presentation="date-time"
locale="es-Ar"
hourCycle="h23"
[preferWheel]="true"
[value]="ISOStringDate"
[dayValues]="dayValues"
[hourValues]="hourValues"
[monthValues]="monthValues"
[minuteValues]="minuteValues"
(ionChange)="onChangeDate($event)"
>
<ion-buttons slot="buttons">
<ion-button color="danger" (click)="onCancelSchedule(datetime)">
Cancelar reserva
</ion-button>
<ion-button
color="primary"
[disabled]="!scheduledAt"
(click)="onConfirmSchedule(datetime)"
>
Confirmar
</ion-button>
</ion-buttons>
</ion-datetime>
If ion-buttons are removed, ionChange event starts working.