RelationManagers and Sushi #16166
Unanswered
jerry-whoami
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Panel builder
Package Version
v3.3
How can we help you?
I have a model relationship as follows
Family->hasMany(Member::class)
Member->hasMany(Subscription::class)
The Subscription model is a sushi model which loads data from an external API
I want to use filament's relationmanager to load subscriptions for a given member
How can I pass the member_id to the Subscription API in the sushi's getRows() method,
so it only returns subscriptions for that particular member and not the whole family?
I know there are other ways but I am looking for a solution usingFilament's RelationManager only.
Is it possible?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions