Hi !
I would like to put a date by default in my Ion Datetime.
The problem is when I put a date with ngModel I loose the placeholder so How Can I put a date by default ? for example, When the user focus the datetime, the date is on 15 december 1996 and no the current date ?
Thanks for your answer but we this method I lost my placeholder… I just want this date when the user tap on the ion datetime but before I would like the placeholder
<ion-item>
<ion-label>Date</ion-label>
<ion-datetime placeholder="tap here to enter Date" (click)="click(myDate)" displayFormat="DD/MM/YYYY" [(ngModel)]="myDate"></ion-datetime>
</ion-item>