I'm using UI component for building admin form. In the form, I have an image uploader field.

Using this uploader, I'm able to select only one image to upload. But I need to upload multiple images.

On referring to Magento docs, isMultipleFiles option needs to be true.

<field name="image" sortOrder="10" formElement="imageUploader">
    <label translate="true">Image</label>
        <rule xsi:type="boolean" name="required-entry">true</rule>
                <rule xsi:type="boolean" active="false" name="required-entry">true</rule>
                <param xsi:type="string" name="url">sample/image/upload</param>

But still, the uploader is able to select only one image. Am I missing something here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.