ACF Select Value disappears in Frontend Rendering Query

Description:

When using a ACF Select with a value and a label the field disappears in Queries that are set to Frontend Rendering.
I need this selection field with a specific value for filtering.

Step-by-step reproduction instructions:

  1. Create an ACF Select
  2. Define for each option a value and a label value-1 : Option 1
  3. Set the Return Format to “Both (Array)”
  4. In the Query display the ACF and choose as Object “label”
  5. As soon as the Query is set to Frontend Rendering the Value disappears

Environment info

  • WordPress version: latest
  • Gutenberg Plugin version: -
  • Cwicly Plugin version: latest
  • Cwicly Theme version: latest

Here is a short clip for more information if needed:

Hi @Jonas,

Thanks for the video, much appreciated.
This should be addressed in 1.2.9.4.9.

Cheers,

1 Like

Hi @Louis,

again I have an issue with the return of value and label.
In my query I can select the “Object” but on the post page I can’t.

Query settings:

Post template settings:

Hello @Jonas,

If I understand correctly, this is happening inside the Site Editor (hence, no dynamic information).
Are you using Dynamic Preview?

1 Like

Hi @Louis,

yep, this was the problem. I did not use the Dynamic Preview. Thanks a lot! :slight_smile:

One more question though. How do I use Dynamic Visibility with an ACF that is set to return both? I want to show a div only if a certain value is selected.