Open rvmladenov opened 5 years ago
You are solved? @rvmladenov
Somebody with this answer?
import { DropzoneConfig, DropzoneConfigInterface, DropzoneComponent } from 'ngx-dropzone-wrapper' ... @ViewChild('firstImageDZ', { static: false }) firstImageDzRef: DropzoneComponent; @ViewChild('galleryPhotoDZ', { static: false }) galleryPhotoDzRef: DropzoneComponent; ... <dropzone #firstImageDZ [config]="firstPhotoDropzoneConfig" class=" w-100" (removedFile)="onRemovedFirstCarPhoto($event)" (success)="onSuccessFirstCarPhoto($event)"></dropzone> <dropzone #galleryPhotoDZ [config]="galleryPhotoDropzoneConfig" class=" w-100" (removedFile)="onRemovedGalleryPhotoCarPhoto($event)" (success)="onSuccessGalleryPhotoCarPhoto($event)"> </dropzone>
Worked for me
Hey guys I am having issues creating multiple ngx-dropzone-wrapper instances which have different templates with dynamic IDs. I will be verry appreciated if someone have an example of that and share it here.