Home › Forums › Add-ons › Repeater Field › Empty Repeater Field displays container › Reply To: Empty Repeater Field displays container
Hi clburch,
I updated to 5.1.1 this morning and didn’t consider that could be the issue. the blog states a fix to the repeater field.
http://www.advancedcustomfields.com/blog/acf-pro-v5-1-1-update/
“Field group: Fixed bug where sub fields were deleted when moving a repeater field to another group”
Perhaps that same fix is causing deleted fields to display null content. I poked around to create variables
$title = get_sub_field('accordion_title' ); // get the title
$content = get_sub_field('accordion_content'); // get the content
That results in a 0 instead of empty space. Different error same problem the variable is empty.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.