Results 1 to 5 of 5

Thread: [4.0.7] RadioGroup. Active value

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-4466 in a recent build.
  1. #1
    Sencha User Radius-Service's Avatar
    Join Date
    Jul 2010
    Location
    Russia, Perm
    Posts
    47
    Vote Rating
    1
      0  

    Default [4.0.7] RadioGroup. Active value

    1. There are two radio element in the radio group.
    2. The first selected.
    3. Select the second item.
    4. Triggered an event change.
    5. At this point, both radio item selected!
    6. Selected, only the second radio element.

    In position 5 should be more. Both radio elemennta should not be selected.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    thank you for the report
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,750
    Vote Rating
    128
      0  

    Default

    ok, can reproduce it now.

    the component is visually ok, just has the error in the newValue param of the change event.
    Best regards
    Tobias Uhlig

  4. #4
    Sencha User Radius-Service's Avatar
    Join Date
    Jul 2010
    Location
    Russia, Perm
    Posts
    47
    Vote Rating
    1
      0  

    Default

    PHP Code:
    {
        
    id        'radiogroup_parametrestype',
        
    xtype    'radiogroup',
        
    width    150,
        
    style    'margin-left: 10px;',
        
    items: [
            {
                
    id            'radio_parametrestype_1',
                
    xtype        'radio',
                
    boxLabel    '??????',
                
    checked        true,
                
    name        'radiogroup_parametrestype_name',
                
    listeners:{
                    
    'change': function(tno){
                        
    alert('1: '+Ext.getCmp('radio_parametrestype_1').getValue());
                        
    alert('2: '+Ext.getCmp('radio_parametrestype_2').getValue());
                    }
                }
            },
            {
                
    id            'radio_parametrestype_2',
                
    xtype        'radio',
                
    boxLabel    '????????',
                
    name        'radiogroup_parametrestype_name',
                
    listeners:{
                    
    'change': function(tno){
                        
    alert('1: '+Ext.getCmp('radio_parametrestype_1').getValue());
                        
    alert('2: '+Ext.getCmp('radio_parametrestype_2').getValue());
                    }
                }
            }
        ]

    After click on 'radio_parametrestype_2',
    result: true, true, false, true.
    But it is logical that there should be: false. true, false, true.

    How do immediately after you select the item to determine which item is selected?

  5. #5
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    CT
    Posts
    462
    Vote Rating
    4
      0  

    Default 4.0.7 temp patch until time to fully regression test 4.1

    How do you get just this fix without going to 4.1.

    Have too much regression testing to do and based on past experience with 3.x to 4.x and .01,.02,etc.

    Is there a way to get just this fix to patch 4.0.7?
    ValterBorges@harmonydata.com

    - harmony-data-systems

    Harmony Data Systems - Offering Enterprise Application Architecture and Implementation Services
    (.NET, SQL, DB2, WEB 2.0, EXT)

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
  •