© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
vahnmarty

Unable to upload images more than 2MB.

Aside from that problem, it is not also following the validation message too:

FileUpload::make('photo_id')
    ->validationAttribute('Fileee')
    ->required()
    ->directory('photo_id')
    ->label('Upload Government ID or PO ID')
    ->image()
    ->validationMessages([
        'uploaded' => 'The :attribute error.',
    ]),
FileUpload::make('photo_id')
    ->validationAttribute('Fileee')
    ->required()
    ->directory('photo_id')
    ->label('Upload Government ID or PO ID')
    ->image()
    ->validationMessages([
        'uploaded' => 'The :attribute error.',
    ]),
Screenshot_2024-03-21_at_10.59.02_PM.png
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 upload more images with spatie
FilamentFFilament / ❓┊help
2y ago
Unable to upload multiple images at the same time
FilamentFFilament / ❓┊help
2y ago
Unable to add more than 40 items in Repeater
FilamentFFilament / ❓┊help
3mo ago
Can't upload more than 10mb with SpatieMediaLibraryFileUpload
FilamentFFilament / ❓┊help
3y ago