Which version are you currently using? Please edit your report and add the version number.
However, I was able to reproduce the issue. Checking the ACF repeater values requires using the ACF have_rows() function, so comparing to empty, null or similar doesn’t work in this case.
To be able to use the ACF repeater values, you must query them with a query loop, otherwise they are not available and therefore cannot be used in the conditions. This is our variant of the ACF have_rows() function.
So: Add an ACF Repeater query loop so that the entries are queried and accordingly available, and test the condition again.
I have run into this problem also and there doesn’t appear to be a native solution yet…?
@timmse I am querying my repeaters as loops in a template, but conditions still do not allow me to use any repeater sub-fields to check not-empty and conditionally display the parent block.
Does the process you’ve outlined only work on the specific block that the query loop is on?
I have my query loop block within a parent block that includes titling and context, which I expect is a common use-case for a repeater query loop. So of course, a user will want to conditionally show/hide the parent block in its entirety rather than just the rows of the repeater loop itself.
Is the BricksLabs solution linked above still the only way to achieve this? I’m keen to use Bricks native conditions as much as possible, and this seems like an oversight.
SOLUTION for me and maybe for others is already in Bricks
I found this post outlining query_results_count that was apparently introduced in 1.9.1.
You can use this in your condition, along with the bricksID of the element that runs the loop looking for repeater rows, to do exactly what I was hoping to achieve in my previous post:
So thanks Bricks developers for already solving this use-case and hopefully this will help someone else who finds this post!