Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: [2.3.0] form.submit sending display not values

    You found a bug! We've classified it as TOUCH-4982 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Join Date
    Sep 2010
    Location
    Nashville, TN
    Posts
    58

    Default [2.3.0] form.submit sending display not values

    Values in the form.getValues() prior to submit:
    • AllWordsAdv: "MARKET"
    • Areatype: null
    • Book: null
    • Category: "0"
    • Fuzzy: "0"
    • MaxResults: "10"
    • SearchQueryType: "1"
    • SearchWithinQueryType: "1"
    • SearchWithinResults: "1"
    • SearchWithinResultsQuery: ""
    • Section: ""
    • Sort: "1"
    • Stems: "1"
    • Subtopic: ""
    • Temp: "11"
    • Topic: ""
    • picker: null
    • search_cod_title: ""


    Values in the Post packet:
    • Temp:
      11
    • AllWordsAdv:
      MARKET
    • SearchQueryType:
      All Words
    • SearchWithinResultsQuery:
    • SearchWithinQueryType:
      All Words
    • SearchWithinResults:
      Yes
    • Category:
      None
    • Sort:
      Relevance
    • MaxResults:
      10
    • Stems:
      Yes
    • Fuzzy:
      No
    • picker:
    • picker:
    • Book:
    • Areatype:
    • Topic:
    • Subtopic:
    • Section:
    • search_cod_title:

      I'm needing/expecting the values from the form. This was working in 2.2.1 prior to upgrade.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    2

    Default sliderfields are not being included

    We are noticing a similar thing with sliderfields not being posted to server. Here is an example:

    https://fiddle.sencha.com/#fiddle/qe

    This works in 2.2.1, but does not work in 2.3.0.

    Thanks!
    Calvin

  4. #4
    Sencha Premium Member
    Join Date
    Aug 2009
    Location
    Glasgow, Scotland, UK
    Posts
    61

    Default

    Is there any progress with this bug?

    We've noticed the same behaviour when using select fields.

    Made a basic test case using the selectfield docs:

    Code:
    Ext.create('Ext.form.Panel', {
        fullscreen: true,
        id: 'test',
        items: [
            {
                xtype: 'fieldset',
                title: 'Select',
                items: [
                    {
                        xtype: 'selectfield',
                        label: 'Choose one',
                        options: [
                            {text: 'First Option',  value: 'first'},
                            {text: 'Second Option', value: 'second'},
                            {text: 'Third Option',  value: 'third'}
                        ]
                    }
                ]
            }
        ]
    });
    
    
    Ext.getCmp('test').submit();
    If you take a look at the http request - the formdata looks like this:

    Code:
    picker: First Option
    instead of:

    Code:
    picker: first
    SwarmOnline - Sencha Specialists & Partners

    @andrewmduncan
    @SwarmOnline

  5. #5
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

    I know its fixed and ready for 2.3.1 release. If you are a support customer the fix should be in the current nightly build.
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  6. #6
    Sencha Premium Member
    Join Date
    Aug 2009
    Location
    Glasgow, Scotland, UK
    Posts
    61

    Default

    That's great to hear.

    Will 2.3.1 be released to those without support subscriptions?

    Thanks,
    SwarmOnline - Sencha Specialists & Partners

    @andrewmduncan
    @SwarmOnline

  7. #7
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

    Yes the first dot release of all Sencha products are always made available to the general public.
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  8. #8
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

    @Calvin I just noticed your post about sliders. In the future can you open a new bug report to ensure that it doesn't get overlooked.
    Thanks for the test case. This is already fixed and will be in the Touch 2.3.1 release.

    Quote Originally Posted by calvinhp View Post
    We are noticing a similar thing with sliderfields not being posted to server. Here is an example:

    https://fiddle.sencha.com/#fiddle/qe

    This works in 2.2.1, but does not work in 2.3.0.

    Thanks!
    Calvin
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  9. #9
    Sencha Premium Member
    Join Date
    Oct 2013
    Posts
    4

    Default Hi

    Do they have a possible release date for 2.3.1 or a workaround on this issue yet.

  10. #10
    Sencha User
    Join Date
    Aug 2012
    Location
    Vancouver, Canada
    Posts
    31

    Default

    This is reported as fixed in the 2.3.1 release notes: "[TOUCH-4982] Fixed form panels to properly send data from all fields" and my forms (which worked with 2.2) are no longer completely broken as they were with 2.3.0. However, checkboxes that are unchecked result in the string "null" being sent, instead of the field being omitted (as documented for checkboxfield: getValues() "contains a key called 'tomato' if the Tomato field is still checked").

Page 1 of 2 12 LastLast

Posting Permissions

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