Results 1 to 2 of 2

Thread: Ext.data.Model.{save|erase} accepts params

  1. #1
    Ext JS Premium User
    Join Date
    Jan 1970
    Posts
    12

    Default Ext.data.Model.{save|erase} accepts params

    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...y-method-batch

    Could you document it and mark it as public please?

    Florent

  2. #2
    Sencha User
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505

    Default

    Thank you for the feedback! I've added the issue to our bug tracker.

Similar Threads

  1. [OPEN] Ext.data.Model.save Returning Associated Data Does Not Update Associated Data
    By jakejamessteele in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 1 Dec 2017, 8:23 AM
  2. [INFOREQ] Erase model with writeAllFields in writer
    By ebett in forum Ext 5: Bugs
    Replies: 4
    Last Post: 9 Oct 2014, 9:16 AM
  3. Replies: 12
    Last Post: 21 Apr 2013, 12:54 AM
  4. Replies: 3
    Last Post: 2 Aug 2012, 7:15 AM
  5. Replies: 2
    Last Post: 27 Jul 2011, 9:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •