How to display multiple images in table builder

How to fix the following error?

League\Flysystem\Filesystem::has(): Argument #1 ($location) must be of type string, array given


// Vehicle Model

public function images(): MorphMany { return $this->morphMany(Image::class, 'imageable'); }

// Show Vehicles livewire component

protected function getTableColumns(): array { return [ ImageColumn::make('images.name') ->label('Vehicle Images') ->circular(), ]; }

note:This needs to be done outside of the Filament admin panel.
Was this page helpful?