FilamentF
Filament11mo ago
charlie

Disable a modal trigger

Hi there!

Despite the :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>
Was this page helpful?