F
Filament15mo ago
GHosT

Use a resource in the Select::relationship() method

Hi all. It is possible to use a complete resource as relation of type as BelongsTo, BelongsToMany etc. instead of a Model's relation name??
2 Replies
GHosT
GHosTOP15mo ago
I don't find this in Filament documentation or Google. How to reuse a resource's logic?? No one can help?? Sadly😕
DrByte
DrByte15mo ago
Perhaps you can explain more detail about what you're trying to accomplish and why. As well as what you've tried that hasn't worked, and what happened when you tried those things. Code samples are also helpful. Those kinds of things will help get answers. Without an idea of what you're really trying to do and why, it's hard to visualize. And, if you supply the information up-front, we don't have to ask you the usual questions: what, why, code, etc.
Want results from more Discord servers?
Add your server