Puttign a relation controller in a tab

I am trying to organize the backend form and would like to put a relation controller (called review) in a tab.
I found an old thread which suggested creating a file (_relation.php) and adding

<?= $this->relationRender('review') ?>

Then create a partial field in the fields.yaml calling the _relation.php file. It worked, but the relation controller is duplicated beneath it. Is there any way to remove the duplicate?


In v3.x you can do it without additional partials, just use:

type: relation
useController: true

in your field definition:

Hi Eoler - thanks.

I also needed to remove the <?= $this->relationRender('review') ?> line from the update.php file in the controller folder. All seems good now.