Hi,
I'm trying to set the image in the smart image panel according to the dropdown value.
I tried to the change the value like below
"dialog.getField("./file").fileReferenceField.setValue(result.image);"
dialog.getField("./file").referencedFileInfo.dataPath = result.image;
dialog.getField("./file").originalRefImage.dataPath = result.image;
Nothing worked. Can anyone help me to achieve this.
Thank you in advance