Datetime picker color selection for specific hours from database


#1

Hello,

I’m trying to figure out, how to put different background color for specific hours, selected from database and assign it with ion-datetime list view:

  <ion-item>
    <ion-label>Hour from:</ion-label>
    <ion-datetime displayFormat="HH:mm" [(ngModel)]="timeFrom"></ion-datetime>
  </ion-item>

to get something like this:

museItUX_109

for reserved hours for example