I am trying to restrict a droppable element to only accept draggable object has class .food and to do that I put 'accept': .food in jqyoui-droppable attribute but this still accepting other class object.
@m-saifuddin You must add the accept configurations in data-jqyoui-options not jqyoui-droppable because it's specific to angular-dragdrop not jqueryUI.
Hi,
I am trying to restrict a droppable element to only accept draggable object has class .food and to do that I put 'accept': .food in jqyoui-droppable attribute but this still accepting other class object.
<ol data-drop="true" ng-model='list2' jqyoui-droppable="{accept:'.food', onOver:'onOver'}" class="basketList">
Any help would be great.
Cheers!!