Support

Account

Home Forums Bug Reports Relationship field value doesn't update

Solving

Relationship field value doesn't update

    • aregmk

    • February 4, 2019 at 12:50 am

    Relationship field works fine when you add items. But when you need to remove any item from list, it can be a struggle.

    The item visually is being removed from selected items list, but when you save the post, nothing changes.

    Workaround:
    Here is some kind of workaround: remove the item, then add another item, then click on white space in gutenberg editor, then click ‘Update’ button.

    Sometimes this also do not work.

    ACF version: Pro 5.8.0-beta3
    PHP version: 7.3.0

  • Hi, I’m chiming in to say I’m also experiencing this problem. Adding and removing items from relationship fields in Gutenberg blocks is very inconsistent. I’m happy to show my code and field definitions or any other useful information that might help.

    Thanks!

  • Yep, also experiencing this problem in ACF Pro Beta 5.8.0 beta 3.

    Initially adding posts in a block with the relationship field and updating is fine but reordering, removing and/or adding more posts does not update.

    If there is a true/false or checkbox elsewhere in the block however, triggering this after moving the order of posts around gets around the issue and updates fine

    Also have same problems with Gallery field

  • This is more then likely an issue related to gooberbug and will hopefully be resolved when 5.8 is released. Until I get word that ACF has resolved all of the issues and releases 5.8 I am using classic editor on all live sites.

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

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.