Vishant
Detect variable value change (on update)
I have created a custom page in Filament and then instantiated a variable in my controller ( public $selectedSollicitantSoort; )
My view has a <select> component which is linked with $selectedSollicitantSoort via wire:model.
How can I get the selected value in the controller right when it is updated?
I tried Livewire's updated($propertyName) method but it is not being triggered when the value is changed. In a regular Laravel (with livewire) application this method does work but not in Filament custom page.
2 replies
Render hook not working
return $panel
->renderHook(
'panels::footer',
fn (): View => view('livewire.footer'),
scopes: [
\App\Filament\Resources\SollicitantResource::class, \App\Filament\Resources\StraatResource::class, \App\Filament\Resources\PlaatsingResource::class,
], );
4 replies