primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Schedule onDrop does not emit Jquery UI information

Open thejewdude opened this issue 9 years ago • 0 comments

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) http://plnkr.co/edit/1ZhEMx The log to console will be undefined. It should log a jquery ui object

Current behavior

According to Fullcalendar docs when a valid jQuery UI draggable has been dropped onto the calendar it call the callback function with 4 parameters passed in: date, jsEvent, ui, resourceId. ui holds the jQuery UI information of the dropped object. onDrop only emits three of the above parameters: date, jsEvent, resourceId; it does not emit the jqueryui object Expected behavior

To emit the jquery ui information. Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

I would like to customize the creation of an event based on some information that I attached to the jquery ui object Please tell us about your environment:

  • Angular version: 2.4.6

  • PrimeNG version: 2.0.0

  • Browser: all

  • Language: all

thejewdude avatar Feb 20 '17 20:02 thejewdude