© 2026 Hedgehog Software, LLC

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

Opening a form modal from a widget

So im just gonna ask in here again,

I have a widget on my dashboard:
<div class="col-md-6">
                       <p>Get started</p>
                            <x-filament::button
                                icon="heroicon-m-arrow-right"
                                icon-position="after"
                                href="{{ url(route(...)) }}"
                                tag="a"
                            >
                                Add to database.
                            </x-filament::button>
                        </div>
<div class="col-md-6">
                       <p>Get started</p>
                            <x-filament::button
                                icon="heroicon-m-arrow-right"
                                icon-position="after"
                                href="{{ url(route(...)) }}"
                                tag="a"
                            >
                                Add to database.
                            </x-filament::button>
                        </div>



and i have a form in a resource with a wizard:
public static function form(Form $form): Form
    {
        return $form
            ->columns(1)
            ->schema([...])
public static function form(Form $form): Form
    {
        return $form
            ->columns(1)
            ->schema([...])



now i want that button in the widget to open the form modal when it is pressed, but i have no clue how to do this
can anyone help?
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

Widget Action not opening modal
FilamentFFilament / ❓┊help
3w ago
Open another form modal from a form modal
FilamentFFilament / ❓┊help
10mo ago
Opening modal from a custom page
FilamentFFilament / ❓┊help
2y ago