Reputation: 1813
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?
Upvotes: 0
Views: 861
Reputation: 109
You can use angular 'cdkDropList' for drag and drop. 'cdkDropListEnterPredicate' will disable dropping inside the same list. Please refer example in this link
Upvotes: 1