diff --git a/projects/common/components/input-elements/drop-list.component.ts b/projects/common/components/input-elements/drop-list.component.ts index 8fc2c177aa25304486662accfbc854cf901c4140..6c66817c145aa584dc56ad6df76f7bc8b300437a 100644 --- a/projects/common/components/input-elements/drop-list.component.ts +++ b/projects/common/components/input-elements/drop-list.component.ts @@ -75,9 +75,10 @@ import { FormElementComponent } from '../../directives/form-element-component.di </ng-template> </div> <div *ngIf="dropListValueElement.imgSrc" - class="list-item image-list-item" cdkDrag + class="list-item image-list-item" [class.hide-list-item]="parentForm && elementModel.allowReplacement && elementFormControl.value.length === 1 && showsPlaceholder" + cdkDrag [cdkDragData]="dropListValueElement" (cdkDragStarted)="dragStart($event)" (cdkDragEnded)="dragEnd()"> <img [src]="dropListValueElement.imgSrc | safeResourceUrl" alt="Image Placeholder">