#Grouped field shows JSON in UI instead of individual fields

4 messages · Page 1 of 1 (latest)

prisma prism
#

I have following code:

      name: 'address',
      type: 'group',
      label: 'Addresse',
      interfaceName: 'Address',
      fields: [
        {
          name: 'street',
          type: 'text',
          label: 'Street',
          required: true,
        },
        {
          name: 'houseNumber',
          type: 'text',
          label: 'House number',
          required: true,
        },
        {
          name: 'postalCode',
          type: 'text',
          label: 'Postal code',
          required: true,
        },
      ],
    },```

When applying columns in the admin UI, a JSON is showed instead of the actual data of the fields. Is it possible to only receive the right columns, f.e. `address.name` ?
winter crowBOT
prisma prism
sleek cedar
#

I too am seeing this, what should we do to display this content as we want it? Should I for example, use a virtual field? or a hook maybe?