Livewire Methods on custom fields
I want to call a livewire method on my custom field via $wire.
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
The primary use case is I want to implement a dynamic search on a custom field that doesn't follow the Select logic.
$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.