I have a field group that contains a taxonomy field and a post object field. I’d like to give the user the control to choose a value from the taxonomy field and then redraw the contents of the post object field to be filtered based upon their chosen value.
I would much prefer to use something like the filter ‘acf/fields/post_object/query’ but am unable to get the currently selected value of the taxonomy field in PHP, or force the post object field to redraw itself from JS.
I may have miss-read your question, but the filter ‘http://advancedcustomfields/resources/filters/acf-fields-post_object-query/’ does contain a $post parameter which you can use to load the taxonomy value from with get_field
I don’t think you misread the question – but I may not have explained it clearly enough 🙂
I can use the filter as you described to update the query on first page load, but I’d like to do this dynamically based upon changing the value of a dropdown field on the page (a taxonomy field). In effect creating a kind of conditional logic as per the standard options.