© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
MikeG

Calling a livewire PHP method from a custom field component

Hey,

I have the need to call a PHP method from the view of a Customer Field Component.

If I use
$wire.methodName()
$wire.methodName()
it states the method doesnt exist on the livewire field component.

What's happening is im getting a Javascript event which results in a code, with that code, i need to make an API call and set the state of the field to the result of that API call.

Any way to do this?
Solution
That fixed the issue 🙂
Jump to solution
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

An issue in calling a Livewire component inside custom field
FilamentFFilament / ❓┊help
2y ago
Calling livewire component from xdata
FilamentFFilament / ❓┊help
17mo ago
Calling method in custom field type
FilamentFFilament / ❓┊help
3y ago
Custom form field and Custom Livewire component
FilamentFFilament / ❓┊help
2y ago