Project

General

Profile

Actions

Bug #105708

open

Muliple Upload in Form Framework

Added by Tiran Grigoryan 10 days ago. Updated 10 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2024-11-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello everyone,
I want to use an upload field with multiple in Typo3 Form.
However, when submitting, I get a validation error message.
Is it a bug? Does Form Framework not support upload with multiple? How can I do it?

<formvh:form.uploadedResource
            property="{element.identifier}" 
            as="resource" 
            id="{element.uniqueIdentifier}" 
            class="{element.properties.elementClassAttribute}" 
            errorClass="{element.properties.elementErrorClassAttribute}" 
            additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}" 
            accept="{element.properties.allowedMimeTypes}" 
            multiple="multiple" 
        >
            <f:if condition="{resource}">
                <div id="{element.uniqueIdentifier}-preview">
                    {resource.originalResource.originalFile.name}
                </div>
            </f:if>
</formvh:form.uploadedResource>
Actions

Also available in: Atom PDF