I have a schema with conditional properties. In the example I'm posting you can see two boolean properties with a conditional textinput property each. I would like to show the textInput just below the boolean that activates it, but as it is now the textInputs appears after the two conditionals.
I've tried grouping by objects but I don't want to show the title that appears in the beggining of each group.
{
"description": "Test conditionals",
"title": "Test conditionals",
"type": "object",
"properties": {
"firstConditional": {
"title": "First conditional",
"type": "boolean"
},
"secondConditional": {
"title": "Second conditional",
"type": "boolean"
}
},
"dependencies": {
"firstConditional": {
"oneOf": [
{
"properties": {
"firstConditional": {
"type": "boolean",
"const": false
}
}
},
{
"properties": {
"firstConditional": {
"type": "boolean",
"const": true
},
"firstCondInput": {
"title": "Write here something for first conditional",
"type": "string"
}
}
}
]
},
"secondConditional": {
"oneOf": [
{
"properties": {
"secondConditional": {
"type": "boolean",
"const": false
}
}
},
{
"properties": {
"secondConditional": {
"type": "boolean",
"const": true
},
"secondCondInput": {
"title": "Write here something for second condition",
"type": "string"
}
}
}
]
}
}
}
I expect to have the textInput conditional just below the boolean that enables it.
Is there any way to "order" the visible properties with no need of use group of objects?
Thanks in advance.