You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In BD 2.1 (possibly before as well) you cannot have more than one BD repeater field in a post template, if the ACF repeater fields are inside ACF Group fields.
If you do, only the first repeater field on the template will output data - on the front end - they work fine when editing in BD.
Steps to reproduce this issue
Using ACF create a Custom Post Type
Using ACF create a Field Group for this custom post type
In the Field Group add a Group field
In the Group field add a Repeater field with a single Text field inside it
Add a second Group field and add another repeater field also with a single text field inside that
You should now have a Field Group containing two Group fields, each with a Repeater field with a single text field inside as per fig 1
Add a new post of the custom post type and populate both repeater fields with some data
Create a simple BD global block for the first repeater field
Create a simple BD global block for the second repeater field
Create a BD template for the single CPT view
Add a BD repeater field for each ACF repeater field (two repeater fields), using the new global blocks as appropriate.
fig 1
Field Group
--Group field
----Repeater field
------Text field
--Group field
----Repeater field
------Text field
When you view the new single cpt on the front end - not logged in - only the repeater field that comes first in the template outputs anything. The other field is there in the DOM but has no content.
When editing the BD template though, it appears to be working fine.
This issue does not occur if the repeater fields are not inside group fields.
The text was updated successfully, but these errors were encountered:
I can confirm this. I was breaking my head over this issue for an hour or 2:
I had a normal acf repeater in the top section of the template and an acr group with repeater somewhat lower on the template. The group repeaters didn’t show. When I delete the normal repeater, the acf group repeaters work. Very strange bug.
In BD 2.1 (possibly before as well) you cannot have more than one BD repeater field in a post template, if the ACF repeater fields are inside ACF Group fields.
If you do, only the first repeater field on the template will output data - on the front end - they work fine when editing in BD.
Steps to reproduce this issue
fig 1
When you view the new single cpt on the front end - not logged in - only the repeater field that comes first in the template outputs anything. The other field is there in the DOM but has no content.
When editing the BD template though, it appears to be working fine.
This issue does not occur if the repeater fields are not inside group fields.
The text was updated successfully, but these errors were encountered: