© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Daniel

Modal footer submit

I do have a modal in a
view.blade.php
view.blade.php
file which contains a form and I want to have the submit button in the modal footer (and not within the modal content:

<x-filament::modal slideOver="true">

    <x-slot name="trigger">
        <x-filament::button type="button" x-on:click="isOpen = true">
            Open modal
        </x-filament::button>
    </x-slot>
    
    <form>
        {{-- here are the form fields --}}
    </form>

    <x-slot name="footer">
        <x-filament::button type="submit">
            Submit
        </x-filament::button>
    </x-slot>    
    
</x-filament::modal>
<x-filament::modal slideOver="true">

    <x-slot name="trigger">
        <x-filament::button type="button" x-on:click="isOpen = true">
            Open modal
        </x-filament::button>
    </x-slot>
    
    <form>
        {{-- here are the form fields --}}
    </form>

    <x-slot name="footer">
        <x-filament::button type="submit">
            Submit
        </x-filament::button>
    </x-slot>    
    
</x-filament::modal>


The submit button appears in the modal footer but I could not submit the form.

Any ideas how to get submit in modal footer working?
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

Modal Footer
FilamentFFilament / ❓┊help
2y ago
ActionGroup in modal footer
FilamentFFilament / ❓┊help
15mo ago
Modal footer actions alignment
FilamentFFilament / ❓┊help
2y ago
Modal Submit Button V2
FilamentFFilament / ❓┊help
3y ago