I have below json output
[
{
"moduelName": "test module",
"instructorinfo": [
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
}
]
},
{
"moduelName": "test module1",
"instructorinfo": [
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
},
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
}
]
}
]
My requirement is On the gallery two control are there label and dropdown. On label I want to show each module name and on the dropdown I want to show the associate instructor name . for example for first module it will show the "test module" and only 1 instructor in dropdown and for other module it will show the "test module1" and 2 instructor in dropdown.