diff --git a/app/Filament/Admin/Resources/Pages/Pages/EditPage.php b/app/Filament/Admin/Resources/Pages/Pages/EditPage.php index e6ddaee..dde5d95 100644 --- a/app/Filament/Admin/Resources/Pages/Pages/EditPage.php +++ b/app/Filament/Admin/Resources/Pages/Pages/EditPage.php @@ -50,9 +50,9 @@ class EditPage extends EditRecord return []; // Boş array döndürerek alt taraftaki form action'larını gizliyoruz } - protected function getRedirectUrl(): string + protected function getRedirectUrl(): ?string { - return $this->getResource()::getUrl('index'); + return null; // Aynı sayfada kal } protected function getSavedNotificationTitle(): ?string diff --git a/resources/views/components/blocks/custom.blade.php b/resources/views/components/blocks/custom.blade.php new file mode 100644 index 0000000..91b3372 --- /dev/null +++ b/resources/views/components/blocks/custom.blade.php @@ -0,0 +1,3 @@ +@foreach($data as $item) + {!! $item['value'] !!} +@endforeach \ No newline at end of file