Hi @eli - first of all, congratulation on this genuine gem
I would like to ask you whether something like the following scenario is actually feasible within your plugin:
>MAIN FIELD 1
SUBFIELD 1
SUBFIELD 2-option1
-option2
-option3
>MAIN FIELD 2
SUBFIELD 1
SUBFIELD 2-option1
-option2
-option3
Basically, it’s a nested structure, where there are several main fields (closable - label), each of them has several subfields (closable - label), containing the selectable options.
I’ve drafted a (valid ) JSON element for this : please let me know what you think
Thanks a lot,
Renato
[{
“label”: “MAIN 1”,
“closable”: “close”,
“options”: [{
“label”: “MAIN 1 | SUB-1”,
“closable”: “close”,
“options”: [{
“text”: “MAIN 1 | Sub-1 | Option-1”
},
{
“text”: “MAIN 1 | Sub-1 | Option-2”
},
{
“text”: “MAIN 1 | Sub-1 | Option-3”
}
]
},
{
“label”: “MAIN 1 | SUB-2”,
“closable”: “close”,
“options”: [{
“text”: “MAIN 1 | Sub-2 | Option-1”
},
{
“text”: “MAIN 1 | Sub-2 | Option-2”
},
{
“text”: “MAIN 1 | Sub-2 | Option-3”
}
]
}
]
},
{
“label”: “MAIN 2”,
“closable”: “close”,
“options”: [{
“label”: “MAIN 2 | SUB-1”,
“closable”: “close”,
“options”: [{
“text”: “MAIN 2 | Sub-1 | Option-1”
},
{
“text”: “MAIN 2 | Sub-1 | Option-2”
},
{
“text”: “MAIN 2 | Sub-1 | Option-3”
}
]
},
{
“label”: “MAIN 2 | SUB-2”,
“closable”: “close”,
“options”: [{
“text”: “MAIN 2 | Sub-2 | Option-1”
},
{
“text”: “MAIN 2 | Sub-2 | Option-2”
},
{
“text”: “MAIN 2 | Sub-2 | Option-3”
}
]
}
]
}
]