diff --git a/controllers/Index.php b/controllers/Index.php index 1a11a0a..0648cb5 100644 --- a/controllers/Index.php +++ b/controllers/Index.php @@ -308,6 +308,8 @@ public function onDuplicateObject(): array unset($duplicatedObject->fileName); $widget = $this->makeObjectFormWidget($type, $duplicatedObject); + $widget->bindToController(); + $this->vars['objectPath'] = ''; $this->vars['canCommit'] = $this->canCommitObject($duplicatedObject); $this->vars['canReset'] = $this->canResetObject($duplicatedObject);