Added max size in testing temp #270

Merged
jothi merged 1 commits from ranjith-dev into master 2026-01-28 12:19:00 +00:00

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')