© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
H.Bilbao

Relation manager form get current resource id

How can I use the id of the current resource record in a select relationship from the relationship manager form?
I test this but not working:

modifyQueryUsing: fn (Builder $query, Edition $record) => $query->where('edition_id', $record->id)
modifyQueryUsing: fn (Builder $query, Edition $record) => $query->where('edition_id', $record->id)
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

Repeater: Get current form id
FilamentFFilament / ❓┊help
3y ago
Relation manager form
FilamentFFilament / ❓┊help
2y ago
Render relation manager inside resource form tab?
FilamentFFilament / ❓┊help
3y ago
Make a select option in relation manager form based on current resource
FilamentFFilament / ❓┊help
3y ago