© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
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
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
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Is it possible to test a multiple select form?
F
Filament / ❓┊help
3y ago
Is it possible to render a table component inside a form component?
F
Filament / ❓┊help
3y ago
Is it possible to sort options in a Select form field?
F
Filament / ❓┊help
2y ago
Is my Form Component possible?
F
Filament / ❓┊help
3y ago