Parameter's visibilityCondition based on a MULTISELECT parameter
MGad
Registered Posts: 14 ✭✭✭✭
Hello
I would like to set a visibilityCondition so that my parameter is only visible if a specific choice of a MULTISELECT parameter is selected. Is it possible ? I already tried writing "'my_choice' in model.my_param" without success...
Thx for your help
Best Answers
-
Hello there,
The syntax for visibilityCondition is Javascript. Hence, you can set
"visibilityCondition": "model.my_param.includes('my_choice')"
Hope it helps,
Alex
-
Hi,
You can try writing this: "model.my_param.includes('my_choice') "
Cheers,
Du
Answers
-
Works perfectly, thank you