This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

eric27155
eric27155

Is it possible to display a comma seperated list of names from a polymorphic relationship in backend lists?

I have a MediaCollection model which has a morphToMany relationship and I would like to display all the names from the attached models in a column in a list.

eric27155
eric27155

Here is what I currently have in my columns.yaml file

category_name:
        label: Categories
        relation: categories
        select: name

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.