Home › Forums › Add-ons › Repeater Field › Taxonomy field inside a repeater not saving properly? › Reply To: Taxonomy field inside a repeater not saving properly?
This is probably because you have selected “Load Term” and “Save Terms”. This causes ACF to update the terms separately for each field and the only one that sticks is the last one. Basically, you can’t load and save terms when dealing with a repeater.
I’ve seen this discussed before, but I don’t know if it was ever solved by anyone.
I would probably turn off these settings for the taxonomy field and I would create my own acf/update_value for the repeater field that would set the post terms so that multiple terms can be added all at once https://codex.wordpress.org/Function_Reference/wp_set_post_terms
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!
Are you an advanced @wp_acf user eager to learn Headless #WordPress?— WP Engine Builders (@wpebuilders) December 5, 2022
This upcoming webinar hosted by @J_Everhart383 was made for you.
👉 Register now: https://t.co/NrzWJZbdoN
Building Your First Headless WordPress Project with ACF + @wpgraphql 🎉 pic.twitter.com/ymyuPqkY2F
© 2022 Advanced Custom Fields.