© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
36 replies
Shaung Bhone

Filament Select Option

Could you kindly suggest an alternative approach that would be more effective than the current course of action? When I fetch the data it's weird as you can see the photo!
Forms\Components\Select::make('company_size')
    ->options([
        '1_to_5' => '1 - 5',
        '10_to_20' => '10 - 20',
        '50_to_100' => '50 - 100',
        '100_to_500' => '100 - 500',
        '500_to_1000' => '500 - 1000',
        '1000_and_more' => '1000+',
    ])
    ->label('Team Size')
    ->required(),
Forms\Components\Select::make('company_size')
    ->options([
        '1_to_5' => '1 - 5',
        '10_to_20' => '10 - 20',
        '50_to_100' => '50 - 100',
        '100_to_500' => '100 - 500',
        '500_to_1000' => '500 - 1000',
        '1000_and_more' => '1000+',
    ])
    ->label('Team Size')
    ->required(),
Screenshot_from_2023-06-06_20-16-29.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

Filament Select Field Option Display Issue
FilamentFFilament / ❓┊help
11mo ago
MorphToMany Relationship in filament select option
FilamentFFilament / ❓┊help
3y ago
Can't customize the filament select option [SOLVED]
FilamentFFilament / ❓┊help
11mo ago
Select option formatting
FilamentFFilament / ❓┊help
12mo ago