iamlikemex
iamlikemex
FFilament
Created by iamlikemex on 9/13/2024 in #❓┊help
Livewire Methods on custom fields
I want to call a livewire method on my custom field via $wire. $wire.call('doAThing', withAValue) As far as I can tell, to achieve this I need to implement a trait that can be used by the page and add the doAThing function to that, passing the fieldName as a in order to be able to retrieve the field... Is that correct? The primary use case is I want to implement a dynamic search on a custom field that doesn't follow the Select logic.
4 replies