Redirect to create page after submit

This commit is contained in:
dhanabalan
2025-04-06 17:22:08 +05:30
parent 69ef321204
commit dc8e46283b
3 changed files with 18 additions and 0 deletions

View File

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