Hi there!
Is there a way to make it work? I would like to use different datetime components for each part of date.
That what I would achieve is something like this:
<ion-col>
<ion-datetime name="year" displayFormat="YYYY" min="1941" max="2016" [(ngModel)]="year"></ion-datetime>
</ion-col>
<ion-col>
<ion-datetime name="month" displayFormat="MM" [(ngModel)]="month"></ion-datetime>
</ion-col>
<ion-col>
<ion-datetime name="day" displayFormat="DD" [(ngModel)]="day"></ion-datetime>
</ion-col>
With the code above i can set the year, but month and day is not changing. After changing displayFormat to displayFormat=“YYYY/DD” or displayFormat=“YYYY/MM” everything is working.
Am I missing something? Thanks!