I am using ion-datetime, however the layout it's completely wrong (image below). In fact, for some reason it hides the current date selected and do not show the default "cancel" and "done" buttons (but they still work somehow). DateTime element
The datetime element is inside an ion-card, which is itself inside an ion-slide. The HTML Code:
<ion-slide>
<div class="divs">
<ion-card>
<ion-card-header>
<ion-card-title class="Title">Values</ion-card-title>
</ion-card-header>
<ion-card-content>
<ion-item>
<object class="center" data="Link_to_an_dashboard" width="100%" height="100%"></object>
</ion-item>
<ion-item>
<ion-label>Select date</ion-label>
<ion-datetime displayFormat="D MMM YYYY H:mm"></ion-datetime>
</ion-item>
</ion-card-content>
</ion-card>
</div>
</ion-slide>
I would have expected to obtain a datetime like the one showed in ionic documentation. My ionic framework version is 5.6.8