[BUGFIX] Assign elementClassAttribute to ImageUpload element 76/56076/2
authorBenjamin Kott <benjamin.kott@wfp2.com>
Thu, 8 Mar 2018 14:22:52 +0000 (15:22 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 9 Mar 2018 12:43:19 +0000 (13:43 +0100)
Resolves: #84179
Releases: master, 8.7
Change-Id: I061674ab878dbfbd2483c17e46a48e2f606ddd87
Reviewed-on: https://review.typo3.org/56076
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/form/Resources/Private/Frontend/Partials/ImageUpload.html

index aa98b9a..e174a3d 100644 (file)
@@ -5,6 +5,7 @@
                        property="{element.identifier}"
                        as="image"
                        id="{element.uniqueIdentifier}"
+                       class="{element.properties.elementClassAttribute}"
                        additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
                        accept="{element.properties.allowedMimeTypes}"
                >