'temporary_file_upload' => [ 'disk' => null, // Example: 'local', 's3' | Default: 'default' 'rules' => ['required', 'file', 'max:819200'], ...]
Tables\Columns\TextColumn::make('properties')->label('Properties') ->formatStateUsing(function($record){ return "Length: {$record->length} \n Frames: {$record->frames} \n Size: {$record->size}M"; })->wrap(),
->nextAction( fn (Forms\Components\Actions\Action $action) => $action->label('Next step'), )
FileUpload::make('download_url') ->disk('public') ->directory('videos') ->label('Video File') ->afterStateUpdated(function ($state, callable $set) { $fileSize = $state->getSize() / (1024 * 1024); // Size in KB $set('size', number_format($fileSize, 2)); }),TextInput::make('size')->readonly()