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
Users need to be able to have some control over what the package attempts to do to their Collections. Being able to write custom onAdd functions are only so useful when there's no way to stop the default attempt at inserting a new document into the collection.
var newElementId = templateInstance.collection.insert(event.data);
That line causes problems, and often times is not the desired behavior. evt.stopPropagation(), evt.preventDefault(), and evt.cancelBubble = true all have no effect.
The text was updated successfully, but these errors were encountered:
Users need to be able to have some control over what the package attempts to do to their Collections. Being able to write custom onAdd functions are only so useful when there's no way to stop the default attempt at inserting a new document into the collection.
That line causes problems, and often times is not the desired behavior. evt.stopPropagation(), evt.preventDefault(), and evt.cancelBubble = true all have no effect.
The text was updated successfully, but these errors were encountered: