Home › Forums › Add-ons › Repeater Field › acf/fields/post_object/query inside repeater filtered by taxonomy sub_field › Reply To: acf/fields/post_object/query inside repeater filtered by taxonomy sub_field
I do not have any code or examples or know where to find any.
On top of this you will need to figure out how to trigger ACF to refresh that list if the term selected in the taxonomy field is changed. I haven’t got a clue were to start for this. This would probably be the hardest part and I have never seen where anyone has accomplished it.
If I had to do this I would use 2 dynamically populated select fields and do most of the coding for those fields myself, for instance using the values in the fields to get the correct terms/post. There is a basic example of doing this for posts here that would take some modification to use terms. https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/dynamic-select-example
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!
ACF PRO’s Flexible Content field allows you to create smaller pieces of UI and compose them into whole flexible patterns. In our latest article, we show how to use it to create swappable site sections and integrate it all in a theme.https://t.co/ZRocH8oJSp— Advanced Custom Fields (@wp_acf) January 24, 2023
© 2023 Advanced Custom Fields.