You found a bug! We've classified it as EXTJS-14325 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jul 2014
    Posts
    1
    Vote Rating
    0
    lrbean is on a distinguished road

      0  

    Default Field never show after hidden

    Field never show after hidden


    REQUIRED INFORMATIONExt version tested:
    • Ext 4.2.1.883
    Browser versions tested against:
    • IE7
    • IE8
    • ____
    Description:
    • if hide the last field with the panel, the field never show up.
    Test Case:

    Code:
    Ext.onReady(function () {
        Ext.create('Ext.Viewport', {
            title : 'Viewport',
            layout : 'fit',
            renderTo : Ext.getBody(),
            items : [{
                    xtype : 'panel',
                    layout : {type:'table',columns: 2},
                    title : 'panel',
                    items : [
                    {
                    xtype : 'button',
                    text : 'hide',
                    handler:function(el){
                    var ddd = el.up().query("#ddd")[0];
                    ddd.hide();
                    }
                    },
                    ,{
                    xtype : 'button',
                    text : 'show',
                    handler:function(el){
                    var ddd = el.up().query("#ddd")[0];
                    ddd.show();
                    }
                    }
                    ,
                    {
                    xtype : 'textfield',
                    itemId:'ddd',
                    name : 'name',
                    fieldLabel : 'Test',
                    allowBlank : false // requires a non-empty value
                    }
                ]}
            ]});
    });

    https://fiddle.sencha.com/#fiddle/80d
    Last edited by Gary Schlosberg; 24 Jul 2014 at 9:19 AM. Reason: add test fiddle

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,831
    Vote Rating
    72
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


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

Thread Participants: 1

Tags for this Thread