© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Expecto Patronum

Visible for Attach Action In Relation Manager

Hi all , currently im developing a project that requires me to use belongstomany relationship.

i have model name as Bucket which that containt belongstomany relationship by using applications() function to call ApplicationBucket model. ( please refer to my pic )

in ApplicationBucket model , it has 2 model which are referring to bucket and application model ( please refer to my pic ) .

in bucket model , i have attribute bucket_status_id .

i created BucketResource and ApplicationRelationManager . I put ApplicationRelationManager class in BucketResource file.

i want to hide attach , edit and detach function in relation manager table when the bucket_status_id = 2 .

i dont have any ideas how to query . any ideas ?
Screenshot_2024-04-30_212324.png
Screenshot_2024-04-30_212539.png
Screenshot_2024-04-30_214110.png
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

Attach relation manager
FilamentFFilament / ❓┊help
3y ago
Attach Relation Manager
FilamentFFilament / ❓┊help
3y ago
Customize option labels in a relation manager attach action
FilamentFFilament / ❓┊help
12mo ago
how to use Attach Action outside relation manager?
FilamentFFilament / ❓┊help
5mo ago