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.',
    ]),
Screenshot_2024-03-21_at_10.59.02_PM.png
Was this page helpful?