© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
iamlikemex

Livewire Methods on custom fields

I want to call a livewire method on my custom field via $wire.

$wire.call('doAThing', withAValue)
$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
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.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Livewire custom component - Livewire Sortable
FilamentFFilament / ❓┊help
3y ago
Dependency Injection on Custom Fields
FilamentFFilament / ❓┊help
2y ago
Livewire custom actions
FilamentFFilament / ❓┊help
2y ago
Livewire custom page
FilamentFFilament / ❓┊help
3y ago