Replies: 1 comment 1 reply
-
did you fix this error? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to put an image in a column, but, without success.
I can access image data from
Column::make("Cover", "book.cover")
, where book is a belongsTo method of my model, but I can't access image data fromImageColumn::make('Cover')->location(fn($row) => $row->book->cover)
, I receive error message Attempt to read property "cover" on null. I also triedImageColumn::make('Cover')->location(fn($row) => $row->book()->cover)
. What am I doing wrong?Beta Was this translation helpful? Give feedback.
All reactions