1
0
forked from poc/pds

Added max size in testing temp

This commit is contained in:
dhanabalan
2026-01-28 17:48:47 +05:30
parent c0f6d7b500
commit 2b476e467c

View File

@@ -24,6 +24,8 @@ class TestingTempResource extends Resource
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
protected static ?string $navigationGroup = 'IIOT Temp';
public static function form(Form $form): Form
{
return $form
@@ -50,6 +52,7 @@ class TestingTempResource extends Resource
->disk('local')
->directory('uploads/temp')
->preserveFilenames()
->maxSize(20480)
->reactive(),
Forms\Components\Actions::make([
Action::make('uploadNow')