© 2026 Hedgehog Software, LLC

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

I Have Problem With Select Column widget

While I want to select roles other selections is hidden
Here is my code
 
 
 SelectColumn::make('role')
                    ->label(__('lang.role'))
                    ->options([
                        0 => __('lang.user'),
                        1 => __('lang.admin'),
                        2 => __('lang.shop_owner'),
                        4 => __('lang.shop_employee'),
                    ])
                    ->sortable()
                    ->searchable(),``
 SelectColumn::make('role')
                    ->label(__('lang.role'))
                    ->options([
                        0 => __('lang.user'),
                        1 => __('lang.admin'),
                        2 => __('lang.shop_owner'),
                        4 => __('lang.shop_employee'),
                    ])
                    ->sortable()
                    ->searchable(),``


And if i add native(false) code i ll get the error method not found , how to fix ,
IMG_20231111_195234.jpg
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

Column search with Select
FilamentFFilament / ❓┊help
3y ago
Select Column
FilamentFFilament / ❓┊help
3y ago
Select Column Saving
FilamentFFilament / ❓┊help
15mo ago
Select column width
FilamentFFilament / ❓┊help
2y ago