diff --git a/typo3/sysext/backend/Classes/Form/Element/UuidElement.php b/typo3/sysext/backend/Classes/Form/Element/UuidElement.php index 390f39f9d7532c39f6604684f87bac2662dc519c..33e50b71872133a84faebf140df0b20ef12787bc 100644 --- a/typo3/sysext/backend/Classes/Form/Element/UuidElement.php +++ b/typo3/sysext/backend/Classes/Form/Element/UuidElement.php @@ -104,6 +104,10 @@ class UuidElement extends AbstractFormElement $resultArray['javaScriptModules'][] = JavaScriptModuleInstruction::create('@typo3/backend/copy-to-clipboard.js'); } + $fieldControlResult = $this->renderFieldControl(); + $fieldControlHtml = $fieldControlResult['html']; + $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $fieldControlResult, false); + $html = []; $html[] = $this->renderLabel($fieldId); $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; @@ -113,6 +117,15 @@ class UuidElement extends AbstractFormElement $html[] = '<div class="form-wizards-element">'; $html[] = $uuidElement; $html[] = '</div>'; + + if (!empty($fieldControlHtml)) { + $html[] = '<div class="form-wizards-items-aside form-wizards-items-aside--field-control">'; + $html[] = '<div class="btn-group">'; + $html[] = $fieldControlHtml; + $html[] = '</div>'; + $html[] = '</div>'; + } + $html[] = '</div>'; $html[] = '</div>'; $html[] = '</div>';