© 2026 Hedgehog Software, LLC

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

editOptionForm with permissions

Hi,

I have a select form component which uses a relationship to look at another model. I use
editOptionForm
editOptionForm
to create a modal so that I can edit the selected field. This all works fine.

However, I would like the edit button to only show for certain users (which I'll manage with spatie) - but I'm not sure how to make the button show / hide?

Any ideas?

Thanks
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

createOptionForm, editOptionForm
FilamentFFilament / ❓┊help
2y ago
Test editOptionForm
FilamentFFilament / ❓┊help
2y ago
Error on create with select and editOptionForm
FilamentFFilament / ❓┊help
3y ago
User Relationship with Permissions
FilamentFFilament / ❓┊help
16mo ago