Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4237 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    24
    Vote Rating
    0
    michael.piecko is on a distinguished road

      0  

    Default [2.2.0 RC] Disabling a form or field hides the value inside textfields

    [2.2.0 RC] Disabling a form or field hides the value inside textfields


    I didn't notice it when i was working on my desktop and using chrome for testing (works correctly), but when disabling a form or field on an iPhone (iPhone 4 in my case), the values disapear in textfields (doesn't happen in select fields). See screenshots attached, with form enabled and disabled:

    test_before.png test_after.png

    As a workaround for my iPhone i patched my app.scss with:

    Code:
    body.x-ios.x-phone .x-field-text.x-item-disabled input, body.x-ios.x-phone .x-field-text.x-item-disabled .x-input-el {
      color: #000;
    }
    A quick testcase for this:

    PHP Code:
        ...

        
    launch: function() {
            
    // Destroy the #appLoadingIndicator element
            
    Ext.fly('appLoadingIndicator').destroy();

            
    // Initialize the main view
            
    Ext.Viewport.add({
                
    xtype'formpanel',
                
    items: [{
                    
    xtype'fieldset',
                    
    title'Form',
                    
    items: [{
                        
    xtype'textfield',
                        
    label'Field 1',
                        
    placeholder'Type something'
                    
    }, {
                        
    xtype'textfield',
                        
    label'Field 2',
                        
    value'Default Text'
                    
    }]
                }, {
                    
    xtype'titlebar',
                    
    title'Test Panel',
                    
    docked'top',
                    
    items: [{
                        
    xtype'button',
                        
    text'Disable',
                        
    formIsDisabledfalse,
                        
    align'right',
                        
    listeners: {
                            
    tap: function(btn) {
                                
    // Get the form
                                
    var form Ext.Viewport.getActiveItem();

                                if (
    btn.formIsDisabled) {
                                    
    btn.formIsDisabled false;
                                    
    btn.setText('Disable');

                                    
    form.enable();
                                } else {
                                    
    btn.formIsDisabled true;
                                    
    btn.setText('Enable');

                                    
    form.disable();
                                }

                            }
                        }
                    }]
                }]
            });

        },

        ... 
    Michael

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,790
    Vote Rating
    833
    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


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

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This has been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 2

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