How can I hide or show the relationship manager based on a query?
When editing a student I need to hide or show TransportationRelationManager::class, if the active field is false or true.
1 Reply
Not an expert here, but did you try to access Model $record inside that method?