plugin parameter visibilityCondition SELECT
Peter_R_Knight
Registered Posts: 32 ✭✭✭✭
Hi,
I'm developing a plugin. I wanted to set the visibilityCondition based on another SELECT field but I want it to be visible once something is selected - i.e. when it shows 'Nothing selected' don't show the parameter. I tried:
"visibilityCondition" : "model.select_field is not None",
"visibilityCondition" : "model.select_field 3 == 'Nothing selected'",
but neither seemed to work (where select_field is the name of the other select field).
Thanks
Tagged:
Best Answer
-
Hi @Peter_R_Knight
,The following condition should work:
"visibilityCondition": "model.select_field != null"
Thanks,
Zach
Answers
-
Thanks, that works for me.