Added max size in testing temp
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Has been cancelled
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Has been cancelled
Laravel Larastan / larastan (pull_request) Has been cancelled
Laravel Pint / pint (pull_request) Has been cancelled

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