Forum Discussion
JCBlanchard
6 years agoCommunity Member
Allow only one item in each drop target - Not working!
In this project, the user has to drag the photo of each person to its correct location below.
I have set triggers that change each picture to a « Disabled » state when it is dropped on the ...
MathNotermans-9
3 years agoCommunity Member
The trick to solving this is adding a custom empty state to your droptargets. When dropping anything on it, trigger it to that empty/deleted state...and it will be removed from the drag-drop event and no other draggable objects can be placed upon it.
As seen here...
- JCBlanchard3 years agoCommunity Member
Hi Math,
It does not work. Drop targets disappear when I drag the wrong object on it.