I have a form with several field sets, arranged in table layout with varying columns:
Using the code above, if storeNbr is blank (empty), the fieldlabel appears to have dropped down into space where the field value should show. Is there a way to get ExtJS to display a   so that the fieldlabel stays up above the empty field?
Here is what it looks like:
emptyformfield.JPG
Code:
var fieldSetInvoice = new Ext.form.FieldSet({ id: 'fieldSetInvoice', border: true, height: 210, width: 580, title: 'Invoice Details', iconCls: 'tag_blue', labelWidth: 110, items: [{ xtype: "fieldset", autoHeight: true, layout: "table", layoutConfig: { columns: 4 }, border: false, style: 'padding: 0; margin: 0;', items: [{ layout: "form", width: 90, items: [{ xtype: 'displayfield', id: 'storeNbr', fieldLabel: 'Store No.' }] ....
Here is what it looks like:
emptyformfield.JPG
Comment