Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string
Hello, in the attached form when I'm filling it at the end uploading a file it show me this error "Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string, null given, called" what do you think can be?
2 Replies
User::whereNotNull('name')->pluck('name', 'id')
This is because you have null value in your name field. Filter it before "plucking"