#98077FormEditor display "undefined" for element types
Description
Since version 10.4.29 the form editor display undefined for the element types.
image.png
The change from Ensure text preview of multivalue items in form editor introduced these behaviour.
The information about the type is not available within the form element definition.
These affect only TYPO3 10. In TYPO3 11 the @label is used here. https://github.com/TYPO3/typo3/commit/c36447f2f4d719564993cfabe18f7fbeb565b9b3
Patch:
Index: typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js
--- a/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js
+++ b/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js (date 1659683036247)
@@ -923,7 +923,7 @@
getHelper()
.getTemplatePropertyDomElement('_type', template)
- .append(document.createTextNode(getFormElementDefinition(formElement, 'type')));
+ .append(document.createTextNode(formElement.get('type')));
getHelper()
.getTemplatePropertyDomElement('_identifier', template)
.append(document.createTextNode(formElement.get('identifier')));Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.