From 694b8c7faae8bfdec8b276c875c7011e9641a74f Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Wed, 13 May 2026 21:59:41 +0700 Subject: [PATCH] feat: increase maximum file upload size to 40MB and update helper text accordingly --- .../Learning/Assignments/Schemas/SubmitAssignmentForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/Learning/Assignments/Schemas/SubmitAssignmentForm.php b/app/Filament/Resources/Learning/Assignments/Schemas/SubmitAssignmentForm.php index 4f91d6c..99e7a83 100644 --- a/app/Filament/Resources/Learning/Assignments/Schemas/SubmitAssignmentForm.php +++ b/app/Filament/Resources/Learning/Assignments/Schemas/SubmitAssignmentForm.php @@ -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(), ]); }