feat: increase maximum file upload size to 40MB and update helper text accordingly
This commit is contained in:
parent
a4b285171b
commit
694b8c7faa
@ -22,11 +22,11 @@ public static function configure(Schema $schema): Schema
|
||||
->pdfNavPanes(true)
|
||||
->disk(config('filesystems.default'))
|
||||
->acceptedFileTypes(['application/pdf', 'application/zip', 'application/x-zip-compressed', 'application/x-zip', 'application/octet-stream', 'multipart/x-zip', '.zip', '.7z'])
|
||||
->maxSize(1024 * 25)
|
||||
->maxSize(1024 * 40)
|
||||
->directory('submissions/'.now()->toDateString())
|
||||
->required(fn ($get) => ! $get('is_resubmit'))
|
||||
->hiddenLabel()
|
||||
->helperText('File PDF atau ZIP dengan ukuran maksimal 25MB.')
|
||||
->helperText('File PDF atau ZIP dengan ukuran maksimal 40MB.')
|
||||
->columnSpanFull(),
|
||||
]);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user