View Full Version : TextField and hideMode

24 Sep 2009, 4:32 AM

I have a formPanel with a textField

this.myText = new Ext.form.TextField({
name : pName,
anchor : '100%',
fieldLabel : 'label',
minLength : 100,
allowBlank : true,
hideMode : 'display'


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

8 Oct 2009, 7:25 AM
You'll need to walk up the DOM hierarchy and hide the element that surrounds the field label and the in put element.