Hello,
We have a cdt of type array and on the basis of its available items, We are creating an editable grid. Inside CDT there is a column called "Image" which may contains multiple image link at a time. So I used ImageField() component and ran a loop for each item available in Image column but this results into the error which says Image component can not have more than 1 image in grid layout. Can someone please tell me what to do now?
Discussion posts and replies are publicly visible
Agreed with gianninol as you are already aware that, Grid can be used when you have an array of items to display/act upon.
Hence, when you iterate, each iteration should form one row, means every single iteration item / CDT should hold single item in order to render that in Grid however if you are expecting array of values for a particular iteration then making the use of link and displaying the values upon clicking this link would be the best option here, as per my understanding.