FilamentF
Filament14mo ago
Matthew

FileUpload max size validation isnt working

FileUpload::make('server')
    ->maxSize(102400)
    ->disk('<...>')
    ->visibility('private'),

if I upload a file of size > 12MB, it gets rejected for being too large. However, post_max_size,memory_limit,max_upload_size,upload_max_filesize in the ini file are all over 128MB, and the validation, still considers 12MB as the limit. Am I missing something?
Was this page helpful?