I have following code in my view:
<ion-datetime displayFormat="YYYY-MM-DD" pickerFormat="YYYY-MM-DD" [(ngModel)]="findTripInit.dateFrom"></ion-datetime>
It is initialized in the following way in controller:
export class FindTripInit{
public dateFrom: string;
constructor()
{
let currentDate: Date = new Date();
this.dateFrom = currentDate.toISOString();
}
}
When I execute that code on my windows phone 10 field for dateFrom looks as readonly ( you can see at my screenshot ) :
but on Android app it looks like this:
does anybody knows, how to unblock windows 10 datetime and make it at least not readonly?