© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago
shashika

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');
    }
 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(),
       ];
   }
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.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to disable select all in Table Builder?
FilamentFFilament / ❓┊help
3y ago
->downloadable in Table Builder
FilamentFFilament / ❓┊help
2y ago
loop in table builder
FilamentFFilament / ❓┊help
3y ago