© 2026 Hedgehog Software, LLC

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

infoList basic Grid 3 columns only see the 3 column

    public static function infolist(Infolist $infolist): Infolist
    {
        return $infolist
            ->schema([
                Grid::make(3)
                    ->columnStart(1)
                    ->schema([
                        Section::make('Algemeen')
                            ->columns(1)
                            ->schema([
                                TextEntry::make('Bedrijf_user'),
                            ]),
                    ])
                    ->columnStart(2)
                    ->schema([
                        Section::make('Contactpersonen')
                            ->columns(1)
                            ->schema([
                                TextEntry::make('Phone'),
                            ]),
                    ])
                    ->columnStart(3)
                    ->schema([
                        RepeatableEntry::make('inlogGegevens')
                            ->columns(1)
                            ->schema([
                                TextEntry::make('InlogNaam')
                                    ->copyable()
                                    ->copyMessage('Copied!'),
                                TextEntry::make('UserName')
                                    ->copyable()
                                    ->copyMessage('Copied!'),
                                TextEntry::make('Password')  // Corrected field reference
                                    ->copyable()
                                    ->copyMessage('Copied!'),
                            ])

                    ]),
            ]);
    } 
    public static function infolist(Infolist $infolist): Infolist
    {
        return $infolist
            ->schema([
                Grid::make(3)
                    ->columnStart(1)
                    ->schema([
                        Section::make('Algemeen')
                            ->columns(1)
                            ->schema([
                                TextEntry::make('Bedrijf_user'),
                            ]),
                    ])
                    ->columnStart(2)
                    ->schema([
                        Section::make('Contactpersonen')
                            ->columns(1)
                            ->schema([
                                TextEntry::make('Phone'),
                            ]),
                    ])
                    ->columnStart(3)
                    ->schema([
                        RepeatableEntry::make('inlogGegevens')
                            ->columns(1)
                            ->schema([
                                TextEntry::make('InlogNaam')
                                    ->copyable()
                                    ->copyMessage('Copied!'),
                                TextEntry::make('UserName')
                                    ->copyable()
                                    ->copyMessage('Copied!'),
                                TextEntry::make('Password')  // Corrected field reference
                                    ->copyable()
                                    ->copyMessage('Copied!'),
                            ])

                    ]),
            ]);
    } 
i mad Grid that have 3 columns but i think he is only reading the last schema that is the 3 one is there another way to make it
Screenshot_2023-12-06_140343.png
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

Infolist Grid column does not support Closure?
FilamentFFilament / ❓┊help
2y ago
Grid Column
FilamentFFilament / ❓┊help
3y ago
Confused about form grid columns and column span.
FilamentFFilament / ❓┊help
12mo ago
Infolist column size
FilamentFFilament / ❓┊help
13mo ago