PDA

View Full Version : Ext.data.Model.{save|erase} accepts params



ffayolle
15 Jun 2016, 6:08 AM
As I read the code, the Ext.data.Model.save() and Ext.data.Model.erase() methods both accept a non-documented params option.

Indeed, the model calls the proxy's batch method which supports this options:
http://docs.sencha.com/extjs/5.1/5.1.2-apidocs/source/Proxy2.html#Ext-data-proxy-Proxy-method-batch

Could you document it and mark it as public please?

Florent

slemmon
15 Jun 2016, 7:23 AM
Thank you for the feedback! I've added the issue to our bug tracker.