const records = new webix.DataCollection({ url: "/api/records", save: { updateFromResponse: true, url: "/api/records" } }); records.add({}); // API THROWS ERROR records.serialize()
My problem is when api throws an error, I can see the non-added record is still in datacollection.
Is there any way to prevent this behaviour?