All array entries displayed on new lines (and not in a single line)

Hi,

I created a smart collection which contains a data field.
This data is field is a string-array, but in details tab it is just shown as string (see screenshot).
I want to show each entry in a new line. How is that possible?

collection('myCollection', {
  actions: [],
  fields: [
    {
      field: 'date',
      type: 'Date',
      isReadOnly: true,
    },
    {
      field: 'type',
      type: 'String',
      isReadOnly: true,
    },
    {
      field: 'appellation',
      type: 'String',
      isReadOnly: true,
    },
    {
      field: 'text',
      type: 'String',
      isReadOnly: true,
    },
    {
      field: 'data',
      type: ['String'],
      isReadOnly: true,
    },
  ],
  segments: [],
});

Hello @bef,

Thanks for reaching out :raised_hands:

Could you please detail what you wish exactly when saying

I want to show each entry in a new line.

?

Do you know that you can change the display widget of this field (by editing the layout → access this field settings → display widget)?

Thanks.

Thanks for your reply.
I will try to clarify what I mean with “new line”.

The data is an array of strings. I want each element of this array displayed in a new line, like this:

Data
entry-0
entry-1
entry-2

I know that I can change the display widget, but I did not find one, which changes how the array is displayed. It is always shown in a single line. If the array has a lot of entries it is hard to read.

Hey @bef,

Ok, understood.

Unfortunately, this is not possible for now.

I will create a Product request though, so that it could be possible in the future.

Thanks for your feedback!
Cheers.