[BUGFIX] EXT:form - respect class for file upload field 97/54997/2
authorMathias Brodala <mbrodala@pagemachine.de>
Fri, 8 Dec 2017 13:28:15 +0000 (14:28 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Sat, 9 Dec 2017 08:46:41 +0000 (09:46 +0100)
Resolves: #83260
Releases: master, 8.7
Change-Id: I04c0bfa08ceb19ed0f797107ac307b06a77b4dcb
Reviewed-on: https://review.typo3.org/54997
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/form/Resources/Private/Frontend/Partials/FileUpload.html

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