© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
16 replies
shabxs

Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string,

I get this error on a select filter with relationship



Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string, App\Enums\ProductType given,


SelectFilter::make('product_type')->label('Product Type')->relationship('product', 'product_type')->options(ProductType::class),

Any possible solution on this....
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\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string
FilamentFFilament / ❓┊help
3y ago
Select::isOptionDisabled(): Argument #2 ($label) must be of type string
FilamentFFilament / ❓┊help
3y ago
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
FilamentFFilament / ❓┊help
3y ago
Error :ilament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
FilamentFFilament / ❓┊help
3y ago