1
0
forked from poc/pds

Redirect to create page after submit

This commit is contained in:
dhanabalan
2025-04-06 17:17:15 +05:30
parent daf0a4559c
commit 490f109254

View File

@@ -9,4 +9,9 @@ use Filament\Resources\Pages\CreateRecord;
class CreateProductionPlan extends CreateRecord class CreateProductionPlan extends CreateRecord
{ {
protected static string $resource = ProductionPlanResource::class; protected static string $resource = ProductionPlanResource::class;
protected function getRedirectUrl(): string
{
return $this->getResource()::getUrl('create'); // Stay on Create Page after saving
}
} }