Noxo
Custom page in resource
call
->url
instead ->action
https://filamentphp.com/docs/3.x/actions/advanced#action-utility-injection7 replies
update url
The solution was very simple, using queryString in livewire. Here's the link if anyone needs it - https://livewire.laravel.com/docs/url#using-the-querystring-method
4 replies
EditAction hooks
the pages extend resource pages not resource.
these pages are contain the hooks:
Filament\Resources\Pages\CreateRecord
Filament\Resources\Pages\EditRecord
I researched actions but didn't find any hooks. I'm wondering if it's just me or other developers who need these hook? I can implement it and send PR 🤔
9 replies
EditAction hooks
Sorry for not specifying, I mean when there are no creation and editing pages. When everything happens in modal.
In my case, I need the beforeValidate hook, because this is the only hook that fires before the relationships are saved/created. (at least that’s how it works within a page)
9 replies