Results 1 to 2 of 2

Thread: TextField and hideMode

  1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    89

    Default TextField and hideMode

    Hi,

    I have a formPanel with a textField

    Code:
    this.myText = new Ext.form.TextField({
    name		: pName,
    anchor		: '100%',
    fieldLabel 	: 'label',
    minLength 	: 100,
    allowBlank            : true,
    hideMode : 'display'
    })
    
    this.myText.hide();
    The textField is hidden but the label is visible and the line is visible.

    I would like that all the 'line' is not visibled with the mode display that is to say and the next all elements put up.

    What's the solution ?
    Is it a bug because I don't find.

    Thanks you

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    You'll need to walk up the DOM hierarchy and hide the element that surrounds the field label and the in put element.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •