Giter VIP home page Giter VIP logo

Comments (5)

fede-s avatar fede-s commented on July 24, 2024 1

Hi @elliotcondon

Just experienced this same issue.
It only seems to happen when the Clone field has the same name than the Repeater field.
When I changed the name of the Clone field to something else it worked fine.'

Hope that helps, thanks for your work!

from acf.

christianmagill avatar christianmagill commented on July 24, 2024 1

@elliotcondon

The same issue happens with flexible fields.

Changing the clone field name so it no longer matches the flexible field it references solves the issue.

from acf.

elliotcondon avatar elliotcondon commented on July 24, 2024

Hi @SpeakInCode

Thanks for the bug report. I'll do some testing and let you know what I find

from acf.

elliotcondon avatar elliotcondon commented on July 24, 2024

Hi @SpeakInCode

Thanks for your patience, I have had a very busy start to the year.

I just performed some testing with this setup but had no issues saving values. I wonder if there is another variable at play that was preventing the values from saving.

It may be possible that another field with the same name existed, or another plugin was interfering with the save_post functionality.

Can you please setup a fresh WP site, install ACF PRO and test the issue you have described? If you can replicate this on a fresh site, please let me know and be sure to include an export of the 2 field groups (.json) so I may test your exact setup.

from acf.

christianmagill avatar christianmagill commented on July 24, 2024

Also, the issue seems to only happen to me at the base level. If the clone field is in a group or repeater it the issue doesn't occur.

from acf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.