© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
3 replies
abkrim

Modify size on modal view of resource

Hi

I'm trying to find a way to make a Resource (modal) view appear larger than normal and center it on the screen.

Is possible? Where doc about this?

try in Resouce but not work

public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Fieldset::make('Modem')
                    ->schema([
                        TextInput::make('_id')->label('Elastic Id'),
                        TextInput::make('modem_id'),
                        TextInput::make('modem_status')->label('Estado del modem'),
                        TextInput::make('provider')->label('Fabricante'),
                    ])->columns(4),
                Fieldset::make('Eventos astronómicos')
                    ->schema([
                        TextInput::make('sunrise'),
                        TextInput::make('sunrise_offset'),
                        TextInput::make('sunset'),
                        TextInput::make('sunset_offset'),
                    ])->columns(4),
                Fieldset::make('Datos del modem')
                    ->schema([
                        //
                    ]),
            ]);
    }
public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Fieldset::make('Modem')
                    ->schema([
                        TextInput::make('_id')->label('Elastic Id'),
                        TextInput::make('modem_id'),
                        TextInput::make('modem_status')->label('Estado del modem'),
                        TextInput::make('provider')->label('Fabricante'),
                    ])->columns(4),
                Fieldset::make('Eventos astronómicos')
                    ->schema([
                        TextInput::make('sunrise'),
                        TextInput::make('sunrise_offset'),
                        TextInput::make('sunset'),
                        TextInput::make('sunset_offset'),
                    ])->columns(4),
                Fieldset::make('Datos del modem')
                    ->schema([
                        //
                    ]),
            ]);
    }

🤔
CleanShot_2024-10-23_at_08.54.17.jpg
Solution
actually, you can change the modal width in the
ViewAction
ViewAction
, like

Tables\Actions\ViewAction::make()
    ->modalWidth(MaxWidth::SevenExtraLarge)
Tables\Actions\ViewAction::make()
    ->modalWidth(MaxWidth::SevenExtraLarge)
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Display Relationshipvalue in View-Form on Resource-Modal
FilamentFFilament / ❓┊help
3y ago
resource view modal with relation manager
FilamentFFilament / ❓┊help
3y ago
Reuse infolist modal from resource on Notification view action
FilamentFFilament / ❓┊help
2y ago
RelationManager on View Resource
FilamentFFilament / ❓┊help
2y ago