© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
4 replies
trymedo

Is it possible to have a required (non-nullable) Select Form Component?

I've added
->nullable(false)
->nullable(false)
which adds an asterisk to the input, but I'm still able to remove the value from the select. Is there a way to avoid this? I'd love for
nullable(false)
nullable(false)
to remove the
x
x
from the select box
image.png
image.png
Solution
Oh balls - I just re-read the docs and found what I was looking for. In case anyone else comes across this post, what you need is
->selectablePlaceholder(false)
->selectablePlaceholder(false)
Jump to solution
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

Is it possible to test a multiple select form?
FilamentFFilament / ❓┊help
3y ago
Is it possible to render a table component inside a form component?
FilamentFFilament / ❓┊help
3y ago
Is it possible to sort options in a Select form field?
FilamentFFilament / ❓┊help
2y ago
Is my Form Component possible?
FilamentFFilament / ❓┊help
3y ago