Yuvaleros/material-ui-dropzone

extra props to initialFiles

Alarees opened this issue · 2 comments

Feature Request

adding extra props to initialFiles

when you having images loaded from api, you may want to delete that image, so you need the image id to delete it from database

the solution that i suggest

set initialFiles lika this

[
   {
      url:'imageUrl',
      //user extra props
   }
]

This is a must-have feature. Makes this package unusable :(

Nvm, I found #194 pull request that explains how to load images from urls instead of creating files. I wish It would state something about it in the documentation, would save a huge chunk of time for those like me out there.