On page load I get the value somewhat like this
{
...,
"availabilities": [
{
"date": "2017-09-22",
"start_time": "07:45 AM",
"map_img_url": "gogia_event_maps.jpg",
"redirect_url": "someplace,
"lat": "19.0480326",
"lng": "72.9169889",
"formatted_address": "Dattaguru Society, Deonar, Opp Raheja Acropolis, Mumbai"
},
{
"date": "2017-10-15",
"start_time": "07:45 AM",
"map_img_url": "gogia_event_maps.jpg",
"redirect_url": "/Raheja+Acropolis+2",
"lat": "19.0480326",
"lng": "72.9169889",
"formatted_address": "Dattaguru Society, Deonar, Opp Raheja Acropolis, Mumbai"
},
{
"date": "2017-10-21",
"start_time": "05:01 AM",
"map_img_url": "gogia_event_maps.jpg",
"redirect_url": "https://www.google.co.in/maps/place/Raheja+Acropolis+2",
"lat": "19.0480326",
"lng": "72.9169889",
"formatted_address": "Dattaguru Society, Deonar, Opp Raheja Acropolis, Mumbai"
},
{
"date": "2017-10-22",
"start_time": "05:02 AM",
"map_img_url": "/gogia_event_maps.jpg",
"redirect_url": "Raheja+Acropolis+2",
"lat": "19.0480326",
"lng": "72.9169889",
"formatted_address": "Dattaguru Society, Deonar, Opp Raheja Acropolis, Mumbai"
}],
...
}
and my UI has a select component from where user can select different date form above JSON. All I need is my remaining UI component should also change the according to the selection of date?
moment, it's an easy library