Visibility condition in plugin parameter
Dexter
Registered Posts: 2 ✭✭
I have a Python plugin with a parameter A of type "MULTISELECT" and another parameter B which I'd like to hide based on A.
For instance, if A can take on the values (1, 2, 3), what should be the "visibilityCondition" for parameter B when A meets one of these conditions?
- Hide B if A has no values selected
- Hide B if A = [1]
- Don't hide B if A has 1 but also other values
I tried "[2,3].some( el => model.A.includes(el))" but it doesn't work