© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
Masea

Can't listen to events on a custom field

I am dispatching event from an action that's inside an action form. The event is listened from a random method in the same resource form properly. But when I try to listen to it from the custom field in the same form it doesn't work. The custom field is like below:
 <div 
        x-data="{
            progress: 55,
            updateText: ''
        }"
        
        x-on:progress-update="alert('lol')"
        >
        <progress :value="progress" max="100"></progress>
        <span class="text-sm" x-html="updateText"></span>
    </div>
 <div 
        x-data="{
            progress: 55,
            updateText: ''
        }"
        
        x-on:progress-update="alert('lol')"
        >
        <progress :value="progress" max="100"></progress>
        <span class="text-sm" x-html="updateText"></span>
    </div>


the alert does not work. Any idea why? Thanks
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

Can't create a custom field
FilamentFFilament / ❓┊help
3y ago
Can I listen for blur/onchange type events for a form field component?
FilamentFFilament / ❓┊help
3y ago
is there a filament-ish intuitive way to listen to paste events on text fields?
FilamentFFilament / ❓┊help
2y ago
Listen on js the render events when a Select change.
FilamentFFilament / ❓┊help
3y ago