Conditionnal field base on Checkboxes option

Is it possible (for the moment or in a near-future) to target an option from a Checkboxes field to trigger a conditional logic ?

Example:

node_settings:
	label: Options
	type: checkboxes
	options:
		blank:
			en: Open in a new window
			fr: Ouvrir dans une nouvelle fenêtre
		button:
			en: Apply the button style
			fr: Appliquer le style d’un bouton
		children:
			en: Include a sub-navigation
			fr: Inclure une sous-navigation

node_children:
	label: ...
	type: ...
	when:
		node_settings:
			children: true

Note: I test the method bellow and it does’nt work, obviously and there’s no documentation about that, maybe there’s a different method for checkboxes option…

Should be

when:
  node_settings: children

Checkboxes don’t have true/false values.

1 Like

I check that too (that’s why I try the sub-object), also does’nt work.

Hm, yes, doesn’t work. Probably only works with single value fields like a select field.

We have lots of requests regarding conditional fields, hopefully, we get some of that in one of the next releases.