From 62502084aa4e6e174b0c92eeca846ee2f6fcb405 Mon Sep 17 00:00:00 2001
From: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Date: Tue, 17 Jul 2018 08:55:18 +0200
Subject: [PATCH] [BUGFIX] Define "label" for tt_content form elements within
 form setup
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Define the "label" property for tt_content form elements within
the form setup to allow saving tt_content form elements.

Resolves: #85578
Releases: master, 8.7
Change-Id: I490a43692a9f54ef843e9362d0f700a9e5552106
Reviewed-on: https://review.typo3.org/57616
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
---
 typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml b/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml
index d9477613c9ba..e004e2ade98d 100644
--- a/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml
+++ b/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml
@@ -833,6 +833,7 @@ TYPO3:
                 group: custom
                 groupSorting: 700
                 predefinedDefaults:
+                  label: 'formEditor.elements.ContentElement.label'
                   properties:
                     contentElementUid: ''
                 iconIdentifier: 'form-content-element'
-- 
GitLab