I'm using BackFire's Backbone.Firebase.Collection
. I have listeners on an input field for updating the model. The value is validated and then the model is updated through
this.model.save({'title': val});
While the data does get updated at Firebase's end (checked through Forge), I get the following error in console:
Uncaught TypeError: Firebase.update failed: First argument contains a cyclic object value (collection.models.0.collection.models.0.collection.models.0.collection.models.0.collection.models.0.collection.models.0.collection.models.0.collection.models.0.collection.models...)
The app works fine if I replace Firebase with Localstorage for testing. Even with BackFire, the data is getting updated.