© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
11 replies
David warner

Column Span Form Builder

I want to display all the fields separately, like one at a line.
Need to use columnspan(2) on every fields and new fields should starts from new line not on the same line.
return $form
        
                ->schema([
                    TextInput::make('name')
                        ->required()
                        ->maxLength(255)
                        ->columnSpan(1)
                        ->autofocus(),
                    TextInput::make('Price')
                        ->required()
                        ->numeric()
                        ->minValue(1),
                    
                    Textarea::make('description')
                        ->minLength(2)
                        ->columnSpan(1)
                        ->maxLength(1024),

                    
                    
                
        ]);
return $form
        
                ->schema([
                    TextInput::make('name')
                        ->required()
                        ->maxLength(255)
                        ->columnSpan(1)
                        ->autofocus(),
                    TextInput::make('Price')
                        ->required()
                        ->numeric()
                        ->minValue(1),
                    
                    Textarea::make('description')
                        ->minLength(2)
                        ->columnSpan(1)
                        ->maxLength(1024),

                    
                    
                
        ]);
Screenshot_2023-12-04_143310.png
Solution
Group::make()->columns(1)->schema([...]);
Group::make()->columns(1)->schema([...]);
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Confused about form grid columns and column span.
FilamentFFilament / ❓┊help
12mo ago
Column span to 100%?
FilamentFFilament / ❓┊help
3y ago
form builder
FilamentFFilament / ❓┊help
2y ago
form builder
FilamentFFilament / ❓┊help
3y ago