HI there ... I am new to prodigy and working on Custom recipes and Custom interfaces.
I have a Json File with the following structure for labels.
{
"A": [
{
"id": "A1",
"text": "Choice1"
},
{
"id": "A2",
"text": "Choice2"
},
{
"id": "A3",
"text": "Choice3"
}
],
"B": [
{
"id": "B1",
"text": "Choice4"
},
{
"id": "B2",
"text": "Choice5"
},
{
"id": "B3",
"text": "Choice6"
},
{
"id": "B4",
"text": "Choice7"
},
{
"id": "B5",
"text": "Choice8"
}
],
Now I am able to display the Second level data as choices . But I have 100's of choices and i have shown only 8 of them.
It would be very helpful to add categorisation to such long number of choices. instead of going through all the 100 choices.
Would it be possible to add an accordion in the custom script.
where I would click on Button "A" (refer above structure)
and It would display the 3 choices present in it and I can select from it.
[
{
"id": "A1",
"text": "Choice1"
},
{
"id": "A2",
"text": "Choice2"
},
{
"id": "A3",
"text": "Choice3"
}
],
Thanks