Hi. I’ve created a field group and added a location rule so that the field group is only visible (in admin) when a certain category is selected. However, the field group is only appearing when I return to edit the post after publishing or saving as draft, and doesn’t appear when I first create the post.
So for example, let’s say my field group is “Restaurant details”, and I want this to be visible when creating a new post where the category “Food” has been selected. When creating the new post, I select the “Food” category, but the “Restaurant details” don’t appear until I save or publish, then navigate away, then return to edit the post. At this stage, unchecking and rechecking “Food” hides and shows the field group as expected, just not when first creating the post.
I’m using the latest versions of WordPress (5.2.1) and ACF Pro (5.8.0) at the time of writing.