Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3889 in a recent build.
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    3
    Vote Rating
    0
    rjrempe is on a distinguished road

      0  

    Default disabled selectfield acts as if enabled when navigated to using tab

    disabled selectfield acts as if enabled when navigated to using tab


    // bug / feature deficiency
    // disabled selectfield acts as if enabled when navigated to using tab key in chrome Version 23.0.1271.97 m

    // 'Ext.field.Select' file: Select.js


    onMaskTap: function() {

    //-----------------------------------------
    //if (this.getDisabled()) { move this to onFocus(e)
    // return false;
    //}
    //----------------------------------------------------
    this.onFocus();
    return false;
    }
    onFocus: function (e) {
    //- will handle tab navigation focus when selectfield is disabled
    if(this.getDisabled())
    {
    return false;
    }
    //--------- continue with original code
    var component =this.getComponent();
    this.fireEvent('focus',this, e);

    if
    (Ext.os.is.Android4){
    component.input.dom.focus();
    }
    component.input.dom.blur();
    this.isFocused =true;
    this.showPicker();
    }

    Test case:

    Code:
    Ext.Viewport.add({
        xtype : 'formpanel',
        items : [
            {
                xtype : 'textfield',
                label : 'Foo'
            },
            {
                xtype    : 'selectfield',
                label    : 'Choose one',
                disabled : true,
                options  : [
                    { text : 'First Option',  value : 'first'  },
                    { text : 'Second Option', value : 'second' },
                    { text : 'Third Option',  value : 'third'  }
                ]
            }
        ]
    });
    Last edited by mitchellsimoens; 8 Jan 2013 at 7:23 AM. Reason: Added testcase to post

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Also, you need to wrap code in BBCode CODE tags like I have done to the testcase.

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

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Thanks for the report and fix. This will be fixed in 2.2.

    Thank you!
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi