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
I want to use a Observable Cache of JsonRest and Memory store but with different identity, in my case "idPlanificacion", but the calendar behavior is wrong on create new items, it does not allows me to drag either.
The identity of items are evaluate directly for "id". And I think this is the bug because when I change the properties of my store, set the idProperty to "id" everything works fine again.
The text was updated successfully, but these errors were encountered:
I fear that it's not that simple: this.items and newItem are "renderItems" it means that they are objects that have all properties with property bindings resolved.
So the id will always be in id property on this object.
A first check is to make sure that in your create item function that you are not using "id" but "idPlanificacion"...
I want to use a Observable Cache of JsonRest and Memory store but with different identity, in my case "idPlanificacion", but the calendar behavior is wrong on create new items, it does not allows me to drag either.
My Code:
After a few hours I found that it may because the StorageManager does not get the identity in some cases:
StorageManager Line 102
then again in the line 117
The identity of items are evaluate directly for "id". And I think this is the bug because when I change the properties of my store, set the idProperty to "id" everything works fine again.
The text was updated successfully, but these errors were encountered: