Hey,
is it possible to use the ion-datetime element to only display hour field? I don’t want people to change the value. Or i should just use some kind of text field ?
Thanks !
Hey,
is it possible to use the ion-datetime element to only display hour field? I don’t want people to change the value. Or i should just use some kind of text field ?
Thanks !
to make ion-datetime readonly use the attribute “disabled” like this example:
<ion-datetime disabled displayFormat="HH" [(ngModel)]="task.StartDate"></ion-datetime>
for more info, refer to their documentation: http://ionicframework.com/docs/v2/api/components/datetime/DateTime/