Preselect images in DragnDrop Uploader


Topic: Preselect images in DragnDrop Uploader

jay2jam pro asked 6 years ago

Hello,

I use the upload component in a parent component and my problem is in edit mode when the already existing image should be loaded in the upload field. How can I do this using upload-component in a parent component?

My code looks link:

async loadImageFormURL(url){ let img = new Image(); img.src = url; this.imageUpload[0] = img; }

Rgds Stefan


Magdalena Dembna staff premium answered 6 years ago

Hi, Drag and drop plugin allows an user to upload files directly from the disk - right now we do not support uploads from url. I apologize for an inconvenience. Kind regards, Magdalena


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.2.0
  • Device: MAC
  • Browser: CHROME
  • OS: Moave
  • Provided sample code: No
  • Provided link: No
Tags