DEV Community

Akhil Ashok
Akhil Ashok

Posted on

How to map theses data to a select box in angular 8

This is a hash map response from backend and i need to display theses dates in a select box?how can i achieve it ?
{
"map":{
"2019-12-27T18:30:00.000+0000":[
"11:00-11:15"
],
"2019-12-29T18:30:00.000+0000":[
"10:00-10:15"
],
"2019-12-26T18:30:00.000+0000":[
"10:00-10:15",
"10:15-10:30",
"11:00-11:15",
"11:15-11:30",
"10:00-10:15",
"12:00-12:15"
]
}
}

Top comments (4)

Collapse
 
sobhardwaj profile image
Siddharath shankar bhardwaj

If u got answer comments here so I can check too

Collapse
 
dreamcatcher8055 profile image
Akhil Ashok
Collapse
 
dreamcatcher8055 profile image
Akhil Ashok

Okkk

Collapse
 
bukahol profile image
bukahol • Edited

Response is response
all you need is to add some salt 'n' pepper to serve the dish
stackblitz.com/edit/angular-7-mast...