© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•12mo ago•
2 replies
charlie

Disable a modal trigger

Hi there!

Despite the
:disabled
:disabled
attribute, the modal is still being triggered. How can I disable it completely?

<x-filament::modal id="modalTest">
    <x-slot name="trigger">
        <x-filament::button :disabled="true">I'm disabled</x-filament::button>
    </x-slot>
    Hello, I'm a modal
</x-filament::modal>
<x-filament::modal id="modalTest">
    <x-slot name="trigger">
        <x-filament::button :disabled="true">I'm disabled</x-filament::button>
    </x-slot>
    Hello, I'm a modal
</x-filament::modal>
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

How to trigger a modal?
FilamentFFilament / ❓┊help
3y ago
Modal: Disable esc to close a Modal
FilamentFFilament / ❓┊help
2y ago
Disable ExportAction Modal?
FilamentFFilament / ❓┊help
2y ago
how to open a modal without a trigger button?
FilamentFFilament / ❓┊help
9mo ago