I've looked at the documentation for Group fields, but for some reason, they just don't seem to work at all. When I drag the group field/slice into the Prismic editor, the sections just stay blank, with no field added.
Is there some sort of prerequisite to use fields? Or is this a known bug.
Group fields cannot be added into Slices. Instead you add fields into the Repeatable Zone of a Slice this section works in a similar way as the Group field. The difference will be in the response object structure.
So if you access to a group field like this: document.data.group_content
In a slice you’ll find the elements in the items array of objects. It’ll be something like this: