I have an API endpoint that can receive an object's ID or name, but not both. I'm trying to make nesting within the select parameter. When I use the code below, in the scenario, the nested fields don't appear. Am I missing something?
[
{
"type": "select",
"name": "searchBy",
"label": "Select",
"options": [
{
"label": "ID",
"nested": [
{
"name": "id",
"type": "number",
"label": "ID"
}
]
},
{
"label": "Name",
"nested": [
{
"name": "name",
"type": "text",
"label": "Name"
}
]
}
]
}
]