PDA

View Full Version : [SOLVED]hidden field take space in height



lpastor
30 Aug 2009, 12:47 PM
Hello,

When I use a hidden field, it occupies half the space in height with FF and full height with IE.

Also, I have tried many solutions find here, but any fixes my problem...

Like :


{id:'id_projet', name:'id_projet', hidden:true, width:20, height:0, allowBlank: true, itemCls:'invisible'},with


.invisible{
display:none;
}or this post : http://extjs.com/forum/showthread.php?t=56185

Is there other solution ?

Animal
30 Aug 2009, 1:20 PM
http://extjs.com/deploy/dev/docs/?class=Ext.form.TextField&member=inputType

lpastor
31 Aug 2009, 4:06 AM
Thanks Animal,

I find a solution with hideLabel:true although I haven't label :


{id:'avancement_projet', name: 'avancement_projet', hidden:true, hideLabel:true, width:30, allowBlank: true},

Animal
31 Aug 2009, 4:16 AM
Do you want a hidden input, or an input field which is hidden?

Make up your mind.