You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
I talk about the timeline. It's my first use. I was being able to initate the timeline with DataSet. Those items contained custom field in the object for later use in my template function. It works properly.
Now when I create new item through drag and drop, I see the custom field I pass to e.originalEvent.dataTransfer.setData disapear on the road. Looking through the code, I've seen that the _onAddItem event listener on ItemSet create a newItemData so my custom fields or lost. Line 23 831 on the vis.js generated file in dist.
How could I store custom fields in the newly created item as I use them to generate the content?
Thanks
The text was updated successfully, but these errors were encountered:
asgardia7
changed the title
Custom field to newly added item
Custom fields to newly added item
Mar 15, 2017
Hello,
I talk about the timeline. It's my first use. I was being able to initate the timeline with
DataSet
. Those items contained custom field in the object for later use in my template function. It works properly.Now when I create new item through drag and drop, I see the custom field I pass to
e.originalEvent.dataTransfer.setData
disapear on the road. Looking through the code, I've seen that the_onAddItem
event listener onItemSet
create anewItemData
so my custom fields or lost.Line 23 831
on the vis.js generated file in dist.How could I store custom fields in the newly created item as I use them to generate the content?
Thanks
The text was updated successfully, but these errors were encountered: