© 2026 Hedgehog Software, LLC

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

Action modal Width

Hi all !
I try to set an Action modal width through modalWith but without success. The following code gives the attached picture. Don't guess why...
Action::make('Date')
                        ->action(function ($data) {
                            $this->redirect(route('filament.pages.time-recorder',['date' => $data['date_select']]));
                        })
                        ->form([
                            Forms\Components\DatePicker::make('date_select')
                                ->maxWidth('md')
                                ->default($this->currentDay),
                        ])
                        ->modalWidth('md'),
Action::make('Date')
                        ->action(function ($data) {
                            $this->redirect(route('filament.pages.time-recorder',['date' => $data['date_select']]));
                        })
                        ->form([
                            Forms\Components\DatePicker::make('date_select')
                                ->maxWidth('md')
                                ->default($this->currentDay),
                        ])
                        ->modalWidth('md'),
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

CreateOptionForm Modal Width
FilamentFFilament / ❓┊help
3y ago
Modal action
FilamentFFilament / ❓┊help
2y ago
Change edit modal width
FilamentFFilament / ❓┊help
2y ago