1. #1
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default TriggerField inputpart is set on hidden after setReadOnly(true) and layoutUpdate

    TriggerField inputpart is set on hidden after setReadOnly(true) and layoutUpdate


    I posted this issue before in the case of NumberFields, but it is related to TriggerFields in general. Can this one be posted as a bug?

    Code:
    Ext.onReady(function() {
    
        var triggerfield = Ext.create('Ext.form.field.Trigger',{
                xtype: 'triggerfield',
                fieldLabel: 'Default',
                name: 'basic'
            });  
                   
            
          var button = Ext.create('Ext.Button', {
                text: 'click me',
                listeners: {
    
                    click: {
                        fn: function() {
                            triggerfield.setReadOnly(true);
                                                   
                           }
                    }
    
                }
            });
        
        
        var form = Ext.create('Ext.form.Panel', {
            title: 'Trigger fields',
            bodyPadding: 5,
            frame: true,
            region: 'center',
            fieldDefaults: {
                labelAlign: 'left',
                labelWidth: 105,
                anchor: '100%'
            },
            items: [triggerfield, button]
    
            });
            
            var panelLeft = Ext.create('Ext.panel.Panel', {
            
               region: 'west',
               width: 300,
               split: 'true'
              
            });
            
            var panel = Ext.create('Ext.panel.Panel', {
               renderTo: Ext.getBody(),
               layout: 'border',
               width: 600,
               height: 600,
               items: [panelLeft, form]
           });
            
        });
    Push the button and then move the splitter. Then the Trigger input part is set on display: hidden.
    It will go wrong on all major browsers.

    Can this one be filed as a bug?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,828
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    It's the same issue that you reported, it's already been fixed for the next release.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Ok thanks.

Thread Participants: 1

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