From bb117a01596d2e738aca045a030f23f049f3a0b5 Mon Sep 17 00:00:00 2001
From: Mathias Brodala <mbrodala@pagemachine.de>
Date: Fri, 8 Dec 2017 14:28:15 +0100
Subject: [PATCH] [BUGFIX] EXT:form - respect class for file upload field

Resolves: #83260
Releases: master, 8.7
Change-Id: I04c0bfa08ceb19ed0f797107ac307b06a77b4dcb
Reviewed-on: https://review.typo3.org/54991
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
---
 .../form/Resources/Private/Frontend/Partials/FileUpload.html     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/typo3/sysext/form/Resources/Private/Frontend/Partials/FileUpload.html b/typo3/sysext/form/Resources/Private/Frontend/Partials/FileUpload.html
index 6f0684c4ca8a..5a329ad4dd18 100644
--- a/typo3/sysext/form/Resources/Private/Frontend/Partials/FileUpload.html
+++ b/typo3/sysext/form/Resources/Private/Frontend/Partials/FileUpload.html
@@ -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}"
 		>
-- 
GitLab