0

Two element lists. From the first list a user can drag elements to the second one, or he can move elements within the second list. He cannot drag & drop element to the first list.

How can I do it?

Eugene P.
  • 1,517
  • 12
  • 16

1 Answers1

1

You can use angular 'cdkDropList' for drag and drop. 'cdkDropListEnterPredicate' will disable dropping inside the same list. Please refer example in this link

  • How can I set up the cdkDropList for the case of image files in the directories which cannot have a fixed number to perform image drag and drop to the particular zone which has been designated as "Canvas" ? – Wisarut Bholsithi Jul 13 '21 at 14:49