0
我在视口中以手风琴布局创建了组合框,但fildlabel没有出现在我的组合框中。 注: 我在地理文本上工作1-1 & Extjs 3-4-0。 这是我的代码:fieldLabel in ComboBox Extjs
new Ext.TabPanel({
border: false, // already wrapped so don't add another border
activeTab: 1, // second tab initially active
tabPosition: 'bottom',
items: [{
html: '<p>A TabPanel component can be a region.</p>',
title: 'A Tab',
autoScroll: true,
items: [ {
xtype: 'button',
text: 'test',
tooltip: 'Test Button'
},{
xtype: 'combo',
tooltip: 'promosCombo ',
id : 'promosCombo',
fieldLabel : "city",
triggerAction : 'all',
emptyText : "Select",
editable : false,
store : promosStore,
mode : 'local',
valueField : 'value',
buttonAlign : 'center',
labelAlign : 'right',
labelWidth : 70,
displayField : 'display'
}]})
你应该把你的组合成一个表格。表单字段需要采用表单来发展其完整行为。 –