Merge pull request 'Added max size in testing temp' (#270) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

Reviewed-on: #270
This commit was merged in pull request #270.
This commit is contained in:
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')