{
xtype: 'TextField',
xns: Roo.form,
- allowBlank : false,
+ allowBlank : true,
fieldLabel : 'Company ID (for filing Ref.)',
name : 'code',
qtip : "Enter code",
}
},
alwaysQuery : true,
- displayField : 'name',
- editable : 'false',
+ displayField : 'comptype_name',
emptyText : "Select Type",
fieldLabel : 'Type',
forceSelection : true,
qtip : "Select type",
queryParam : 'query[name]',
selectOnFocus : true,
- tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
+ tpl : '<div class="x-grid-cell-text x-btn button"><b>{comptype_name}</b> </div>',
triggerAction : 'all',
typeAhead : false,
valueField : 'val',