© 2026 Hedgehog Software, LLC

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

[v2] Multiple images with relationship

I have this form
// file upload
Forms\Components\FileUpload::make('images.image')
    ->image()
    ->multiple()

// model
public function images(): HasMany
{
    return $this->hasMany(LandingMFile::class, 'file_id');
}
// file upload
Forms\Components\FileUpload::make('images.image')
    ->image()
    ->multiple()

// model
public function images(): HasMany
{
    return $this->hasMany(LandingMFile::class, 'file_id');
}

But after clicking submit, the image not save.. any idea?

I put fillable, no console error, no error at all.. but image is not save
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

multiple relationships with ->relationship()
FilamentFFilament / ❓┊help
3y ago
Multiple Select with BelongsToMany relationship
FilamentFFilament / ❓┊help
3y ago
Multiple layer relationship
FilamentFFilament / ❓┊help
3y ago
Multiple Lavel Relationship
FilamentFFilament / ❓┊help
3y ago