ImageEntry relationship get url
hi, i've this:
but this
->url(fn ($record) => Storage::url($record->name), shouldOpenInNewTab: true)
doesn't work....how can i retrieve the attribute name of the relationship photos?
thanks1 Reply
a little update, i try to use $state here
->url(fn ($state) => Storage::url($state), shouldOpenInNewTab: true)
but state contains the array of name attributes of all relationship items. There is a way to indicize it?