Luke
Luke
FFilament
Created by Luke on 1/29/2024 in #❓┊help
Is it possible to use a nested relationship in a RelationshipConstraint filter?
I'm trying to create a relationship constraint for a nested belongs to relationship, but it's ignoring .child in the relationship name. Is it not possible to use dot notation here?
QueryBuilder\Constraints\RelationshipConstraint::make('parent.child')
->selectable(
QueryBuilder\Constraints\RelationshipConstraint\Operators\IsRelatedToOperator::make()
->titleAttribute('name')
->searchable()
->multiple(),
),
QueryBuilder\Constraints\RelationshipConstraint::make('parent.child')
->selectable(
QueryBuilder\Constraints\RelationshipConstraint\Operators\IsRelatedToOperator::make()
->titleAttribute('name')
->searchable()
->multiple(),
),
1 replies
FFilament
Created by Luke on 1/20/2024 in #❓┊help
Is it possible to prevent a modal from closing on form submit?
I'm attempting to leverage the action modal feature into creating a comments system. I have everything working I just need the modal to stay open after the form is submitted. Any ideas on how to achieve this? Thanks!
1 replies