craft-neo icon indicating copy to clipboard operation
craft-neo copied to clipboard

[FR] Ability to add conditions to subfields based on whether block is a child or top level

Open tigerchick opened this issue 2 years ago • 2 comments

Description

It would be useful to conditionally show a subfield depending on whether or not the Neo block is top level or a child of another block. This is a Feature Request.

tigerchick avatar Oct 02 '22 12:10 tigerchick

And to take it a stage further - add the ability to conditionally show a subfield based on the field values of parent block.

tigerchick avatar Oct 02 '22 12:10 tigerchick

This is a great idea, and something I'd love to add when it's possible for us to implement #579.

ttempleton avatar Oct 04 '22 07:10 ttempleton

The ability to add conditions to subfields based on the block's level is now implemented in the enhancement/dynamic-block-conditions branch and will be released in Neo 3.7.0.

I'll have a look soon into whether we can add condition rules based on the parent block's field values.

ttempleton avatar Jan 31 '23 05:01 ttempleton

Neo 3.7.0 has just been released with those new condition rules.

ttempleton avatar Feb 21 '23 05:02 ttempleton