Survey banner
Switching to Dataiku - a new area to help users who are transitioning from other tools and diving into Dataiku! CHECK IT OUT

Visibility condition in plugin parameter

Level 1
Visibility condition in plugin parameter

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?

  1. Hide B if A has no values selected
  2. Hide B if A = [1]
  3. 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 

0 Kudos
0 Replies