[BUGFIX] Assign elementClassAttribute to ImageUpload element 61/56061/3
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 10:49:48 +0000 (11:49 +0100)
Resolves: #84179
Releases: master, 8.7
Change-Id: I061674ab878dbfbd2483c17e46a48e2f606ddd87
Reviewed-on: https://review.typo3.org/56061
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
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 744110b..8df613a 100644 (file)
@@ -5,6 +5,7 @@
                        property="{element.identifier}"
                        as="image"
                        id="{element.uniqueIdentifier}"
+                       class="{element.properties.elementClassAttribute}"
                        errorClass="{element.properties.elementErrorClassAttribute}"
                        additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
                        accept="{element.properties.allowedMimeTypes}"