Hi all, I'm trying to show a hasOne relation in the backend view. I have created the $hasOne relation variable in my model and the problem that I have now is that I'm not able to show an attribute of the referenced object in the list view of the backend. The code that I use in file columns.yaml is this one:
columns:
post_id:
label: Post
relation: post
select: title
As the documentation states. Can anyone help me, please?
Last updated