I have the issue where the IonDateTime picker components onIonChange function only gets called when the date value is changed, not the time value. Is there any way to have a picker with the presentation of “time” only, and detect the value changing?
Thanks for the help in advance, below is my current component:
<IonItem class="ion-margin">
<IonInput id="trip-time" value={currentLocation.start} />
<IonButton fill="clear" id="open-time-input1">
Start Time
</IonButton>
<IonPopover trigger="open-time-input1" showBackdrop={false}>
<IonDatetime
presentation="time"
onIonChange={(ev) => {
timeStartHandler(ev.detail.value);
}}
/>
</IonPopover>
</IonItem>