© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
3y ago
•
8 replies
bionary
Conditionally Prevent Record Edit?
I know I can disable form inputs one
-by
-one via
->disabled(...)
->disabled(...)
. But
, what if I wish to prevent editing for entire page based on a field in the model
. Like if
$record->is_locked == true
$record->is_locked == true
?
If would be great to prevent the edit page from opening or in the least open to a view page
.
Thanks in advance for any guidance
!
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
single record edit
F
Filament / ❓┊help
2y ago
conditionally show editForm in Select
F
Filament / ❓┊help
14mo ago
Conditionally show widget based on record
F
Filament / ❓┊help
2y ago