diff --git a/modules/backend/behaviors/RelationController.php b/modules/backend/behaviors/RelationController.php index 8def35f28..acbf912b1 100644 --- a/modules/backend/behaviors/RelationController.php +++ b/modules/backend/behaviors/RelationController.php @@ -1331,7 +1331,11 @@ class RelationController extends ControllerBehavior } } + // Reinitialise the form with a blank model + $this->initRelation($this->model); + $this->viewWidget->setFormValues([]); + $this->viewModel = $this->relationModel; } return $this->relationRefresh();