Select filter in QueryBuilder for nested relationship
Hi everyone,
I’m using FilamentPHP with
I have the following relationships defined in my model: I want to filter by plan ID and display the plan name in the filter dropdown.
What’s the cleanest way to achieve this with
Any guidance or examples would be greatly appreciated!
QueryBuilder::make() and I want to create a filter similar to the RelationshipConstraint example below:
However, my scenario is a bit more complex because I need to filter through two relationships.I have the following relationships defined in my model: I want to filter by plan ID and display the plan name in the filter dropdown.
What’s the cleanest way to achieve this with
RelationshipConstraint in Filament?Any guidance or examples would be greatly appreciated!
0 Replies