F
Filament13mo ago
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.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server