© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•8mo ago•
6 replies
o.m

Why doesnt livewire:click work on modal?

I have a modal and I button calls a function

text-messages-content.blade.php
<button wire:click="test" type="button" class="btn btn-secondary">Schedule Text Message</button>
<button wire:click="test" type="button" class="btn btn-secondary">Schedule Text Message</button>


TextMessagesContent::class
    public function test()
    {
        dd("test");
    }
    public function test()
    {
        dd("test");
    }

nothing happens when I click on the button
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 Component on ModalContent close modal
FilamentFFilament / ❓┊help
2y ago
Why the autofocus doesnt work on modals?
FilamentFFilament / ❓┊help
3y ago
Modal in livewire
FilamentFFilament / ❓┊help
16mo ago
Modal: Livewire component
FilamentFFilament / ❓┊help
2y ago