hi
i am following this tutorial and the thing is that in the post and page editor, i can populate the select control with the meta fields, but in the site editor, when i want to use them in templates: it is populated only in archives templates, but no in the page template or the single post template.
i have this code:
const [acfMeta, setACFMeta] = useEntityProp('postType', postType, 'acf', postId);
as i said: in the archive templates acfMeta is populated so i can loop them and populate the select control with them. but not in the page template or the single post template, then it returns undefined.
any idea why and what can i do?