© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
11 replies
Atena.D

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

Hi. I have a select field in my form builder that uses
user
user
relationship but it throws this error:
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str

My code:

Select::make('model_id')
  ->relationship('user', 'name')
  ->required(),
Select::make('model_id')
  ->relationship('user', 'name')
  ->required(),
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

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