For conditional fields can we implement choosing multiple values from the enumeration.
Kumar
I have a hero component where I have an enumeration called versions, for some of the versions of this hero component I want to show conditional image field. Currently I can chose it show for only 1 version. If we have the ability to choose multiple enumeration values as condition or if we can add multiple if conditions, it will solve a lot of problems.
Oussama Soffih
This is possible by editing the schema JSON manually (not via the GUI).
Use the "or" operator in the conditions. Example:
"conditions": {
"visible": {
"or": [
{
"==": [
{ "var": "versions" },
"version1"
]
},
{
"==": [
{ "var": "versions" },
"version2"
]
}
]
}
}
M
Matt Bott
This is exactly what im looking for does not need to be complex nesting just simple multiple select <3