© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
ByteXR

Conditionally show widget based on record

Is it possible to show widget conditionally based on the record. I know there is
canView
canView
function but it is static and therefore has no access to
$this->record
$this->record
at that point

Thank you for all your help!
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

Show infolist conditionally based on user role
FilamentFFilament / ❓┊help
3y ago
conditionally show bulkactions based on the data of the selected records
FilamentFFilament / ❓┊help
3y ago
Filament widget on click show table list record
FilamentFFilament / ❓┊help
2y ago
conditionally render widget stat?
FilamentFFilament / ❓┊help
3y ago