Home Forums Bug Reports Flexible Field content disappearing when inside tab


Flexible Field content disappearing when inside tab

  • The content of flexible fields seems to disappear when presented inside a tab field. Removing tabs has made the content reappear.

    1. Content can be added to the flexible field when it is in a tab. Content can also be saved, and will show on the website.

    2. Returning to the admin area after a save, the flexible field area will appear empty. It is bugged though, as it will not have the usual appearance of an empty flexible field (Text reading click below to add content button). Saving the page will empty the flexible field (content will not show on the webpage anymore and text reading click below to add content will be back).

    3. Removing the tab fields from the ACF page and returning to the page in the admin area will make the content reappear, provided you did not save the page (as described in step 2).

    I am using WP 4.1 with ACF 5.1.8.

  • I suspect this happens because your fields inside the tab end up having the same name as the tab itself.

    So, if you name tab Slider and then create Repeater Slider inside it, it will fail, even though Tab’s name or slug is not explicitly available to edit.

    As user you can name your tab with tab at the end, so that automatically created name would have it, later you can change the Title of the tab.

    But it should be fixed by developer by adding some unique suffix or at least “__tab”.

  • Hi @brunocloutier,

    Thanks for the post.

    The issue could also be as a result of a naming conflict in your database.

    It is always important to ensure that all your fields have unique names.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Flexible Field content disappearing when inside tab’ is closed to new replies.