© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
Matthew

Cant display modal with custom view

What I want is a modal with 3 buttons.

I have a modal action in my header
Action::make('queryAction')
  ->color('info')
  ->label('Query Movies')
  ->modalContent(view('filament.resources.movie-resource.actions.actions-modal'))
Action::make('queryAction')
  ->color('info')
  ->label('Query Movies')
  ->modalContent(view('filament.resources.movie-resource.actions.actions-modal'))


<x-filament::modal>
    <x-filament::button color="primary" class="w-full">
        sadbasdasd
    </x-filament::button>

    <x-filament::button  color="info" class="w-full">
        asdjabsdjasd
    </x-filament::button>

    <x-filament::button  color="success" class="w-full">
        dabdajda
    </x-filament::button>
</x-filament::modal>
<x-filament::modal>
    <x-filament::button color="primary" class="w-full">
        sadbasdasd
    </x-filament::button>

    <x-filament::button  color="info" class="w-full">
        asdjabsdjasd
    </x-filament::button>

    <x-filament::button  color="success" class="w-full">
        dabdajda
    </x-filament::button>
</x-filament::modal>


Yet when I click on the button, it shows the default view
image.png
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

Custom Modal View for ViewAction
FilamentFFilament / ❓┊help
3y ago
Modal with custom view sortable javascript?
FilamentFFilament / ❓┊help
12mo ago
Modal View with Relationship
FilamentFFilament / ❓┊help
2y ago
custom view with form modal to create record
FilamentFFilament / ❓┊help
3y ago