© 2026 Hedgehog Software, LLC

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

is it possible to open a relationship in a modal?

I have a model (property) that is the child in three one to many relationships. I want users to be able to edit the parent record for each of those relationships without having to navigate away from the property. The relationship is currently being set via a select.

Originally I created a hidden subform that was displayed when the select had a value but other than refreshing the entire page I couldn't workout how to populate the data in that subform.

Then I tried using a action form via the header actions in the section containing the select and that sort of works but because it is being loaded from what is available in the $record I can't see how to get all of the relation stuff (images, tags, etc.) into the modal.
Solution
Ah. Check this:
https://filamentphp.com/docs/3.x/forms/fields/select#customizing-the-select-action-objects
Select - Form Builder - Filament
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

Is it Possible to Open a Modal within Another Modal in Laravel Filament?
FilamentFFilament / ❓┊help
16mo ago
Is it possible to open modal with form fields in hint action?
FilamentFFilament / ❓┊help
3y ago
Is it possible to open a modal window with just an address
FilamentFFilament / ❓┊help
3y ago
table action to open the relationship manager in a modal?
FilamentFFilament / ❓┊help
2y ago