
Hi,
I’m populating choices from a repeater field like this example from the docs. However, I’m struggling to get all of the rows when the repeater is using pagination.
For my page template, I got 2 field groups. One is containing the select field in question, the other is containing some other settings. The select field is getting all of the rows from the repeater field if the field group / meta box that it belongs to is located at the top of the list of field groups. When placed at the bottom it’s only being populated with the number of rows that’s defined in the rows_per_page setting for the repeater (4 in this case). I’ve attached 2 images to visualize this.
I looked in the ACF code and found that in class-acf-field-repeater.php there is some checks for where the setting is rendered and it disables pagination if needed. Excluding my field from pagination here does solve the issue.
Has anyone else experienced this issue or is able to replicate it? During debugging I’ve disabled all other plugins and use the twenty twenty three theme, still the issue remains. Running Acf pro 6.1.6 on WP 6.2.1 for my sites but have tried the latest versions of both acf and WP to no avail.
Any pointers or ideas would be much appreciated.
After a lot of back and forth with support trying to explain the issue they have managed to replicate it. This is a bug and has been reported to the devs.