Image Picker in Multifield Updates All Items
Hi everyone,
I am facing an issue with an image picker inside a multifield in an AEM author dialog.
Scenario:
Inside a multifield, I added a fileupload component to allow authors to select an image asset.
Dialog configuration example:
<file
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/authoring/dialog/fileupload"
granite:class="cmp-image__editor-file-upload"
enableNextGenDynamicMedia="{Boolean}true"
class="cq-droptarget"
fieldLabel="Image Asset"
fileNameParameter="./fileName"
fileReferenceParameter="./fileReference"
mimeTypes="[image/gif,image/jpeg,image/png,image/tiff,image/svg+xml]"
name="./file"
title="Upload Image Asset"/>Issue:
When the author selects or changes an image in one multifield item, the selected image is automatically applied to all other multifield items. So essentially, Selecting image in item 1, updates item 2, item 3, etc.

Also after submit the dialog the image is not saved in CRX.
We are using AMS 6.5.19 and the for picker clientlibs used: core.wcm.components.image.v3.editor
Note: We need to use remote picker as for asset storage we are using Adobe Asset Service.
Is there a recommended way to implement an image picker inside multifield while still using Core Component features?
Any guidance or workaround would be appreciated.