© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
4 replies
Glebka

How to access $record in a ->visible() method?

I am 100% sure that record is not null. but when i dd it, its shows that record is null, how to get $record or a $state in a ->visible() method? Thanks!
SCR-20241122-lpsr.png
Solution
This is a Table Column? You can't hide columns based on the record because that would break the table layout
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

Access record in form method
FilamentFFilament / ❓┊help
3y ago
How to access record in infolist
FilamentFFilament / ❓┊help
2y ago
How to access Model $record when using ->visible() or ->hidden()?
FilamentFFilament / ❓┊help
2y ago
Please help, Record not resolved in visible() method of a SelectColumn
FilamentFFilament / ❓┊help
9mo ago