F
Filament8mo ago
NikkiP

Disable Select Filter Default "All" Option

How to disable the "All" option when using a select filter? I would like the select filter to default to first option from the relationship. Is there any resources about? I'm attaching the screenshot for more info. Thank you!
No description
Solution:
Please check your filamentphp version
Jump to solution
6 Replies
toeknee
toeknee8mo ago
->selectablePlaceholder(false)
->selectablePlaceholder(false)
NikkiP
NikkiPOP8mo ago
Tried that but it returns "Method Filament\Tables\Filters\SelectFilter::selectablePlaceholder does not exist."
Solution
toeknee
toeknee8mo ago
Please check your filamentphp version
NikkiP
NikkiPOP8mo ago
Oh yeah, I think it needs upgrade. Let me try that. Thanks @toeknee!
Want results from more Discord servers?
Add your server