© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•8mo ago•
3 replies
SuperUserDo

Column Spans On Form within Grid

Hello,

I have an issue while using Grid from forms.

For some reason my two fields are not taking 50-50 space within. In image is those spacings.

Grid::make(columns: 6)
                            ->schema([
                                TextInput::make('kp')
                                    ->label('kp')
                                    ->placeholder('inputs.kp_placeholder')
                                    ->maxLength(50)
                                    ->columnSpan([
                                        'default' => 6,
                                        'sm' => 6,
                                        'md' => 3,
                                        'lg' => 3,
                                        'xl' => 3,
                                    ]),

                                TextInput::make('ko')
                                    ->label('kp')
                                    ->placeholder('inputs.kp_placeholder')
                                    ->maxLength(50)
                                    ->columnSpan([
                                        'default' => 6,
                                        'sm' => 6,
                                        'md' => 3,
                                        'lg' => 3,
                                        'xl' => 3,
                                    ]),
                                Textarea::make('address')
                                    ->columnSpan(6),
                            ])
                            ->columnSpan([
                                'default' => 6,
                                'sm' => 6,
                                'md' => 3,
                                'lg' => 3,
                                'xl' => 3,
                            ]),
Grid::make(columns: 6)
                            ->schema([
                                TextInput::make('kp')
                                    ->label('kp')
                                    ->placeholder('inputs.kp_placeholder')
                                    ->maxLength(50)
                                    ->columnSpan([
                                        'default' => 6,
                                        'sm' => 6,
                                        'md' => 3,
                                        'lg' => 3,
                                        'xl' => 3,
                                    ]),

                                TextInput::make('ko')
                                    ->label('kp')
                                    ->placeholder('inputs.kp_placeholder')
                                    ->maxLength(50)
                                    ->columnSpan([
                                        'default' => 6,
                                        'sm' => 6,
                                        'md' => 3,
                                        'lg' => 3,
                                        'xl' => 3,
                                    ]),
                                Textarea::make('address')
                                    ->columnSpan(6),
                            ])
                            ->columnSpan([
                                'default' => 6,
                                'sm' => 6,
                                'md' => 3,
                                'lg' => 3,
                                'xl' => 3,
                            ]),
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Grid Column
FilamentFFilament / ❓┊help
3y ago
Confused about form grid columns and column span.
FilamentFFilament / ❓┊help
12mo ago
Position components within Grid
FilamentFFilament / ❓┊help
3mo ago
Reset Grid/Fieldset column
FilamentFFilament / ❓┊help
11mo ago