Results 1 to 2 of 2

Thread: Form with standardSubmit isn't working

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8221 in a recent build.
  1. #1
    Sencha Premium Member TDroenner's Avatar
    Join Date
    Nov 2010
    Location
    Homburg/Saar, Germany
    Posts
    88
    Vote Rating
    3
      0  

    Default Form with standardSubmit isn't working

    PHP Code:
    Ext.define('Ext.form.action.StandardSubmit', {     
    extend:'Ext.form.action.Submit',     
    alias'formaction.standardsubmit',     
     
    /**      
    * @cfg {String} target      
    * Optional target attribute to be used for the form when submitting.      
    *       
    * Defaults to the current window/frame.      
    */      
    /**      
    * @private      
    * Perform the form submit. Creates and submits a temporary form element containing an input element for each     
     * field value returned by 
    {@link Ext.form.Basic#getValues}, plus any configured {@link #params params} or      * {@link Ext.form.Basic#baseParams baseParams}.     
     */     
    doSubmit: function() {         
    var 
    formInfo this.buildForm();         
    form.formEl.submit();         
    this.cleanup(formInfo);     
    }  
    }); 

    I guess it should read formInfo instead of form.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Thanks for the report, this has been fixed for the next release.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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