Open
Description
Is there a solution to hide a tab based on the selection from an other tab. Conditions don't seem to work on tabs.
Enhancement
Would be nice to be able to have condition on a tab
Expected behaviour
Consider this form :
[
{
"type": "tabs",
"tabs": [
{
"items": [
{
"items": [
{
"titleMap": [
{
"name": "Option A",
"value": "clusters_of_delivery_points_1"
},
{
"name": "Option B",
"value": "clusters_of_delivery_points_2"
},
{
"name": "Option C",
"value": "minimum_linear_density"
}
],
"notitle": true,
"type": "radios",
"key": "clustering"
}
],
"title": "Clustering",
"type": "fieldset",
"htmlClass": "form-group form-border"
}
],
"title": "Tab 1"
},
{
"items": [],
"condition": "model.clustering==='minimum_linear_density'",
"title": "Tab 2"
}
]
}
]
Tab 2
should show only when Option C
is selected in Tab 1
.