如何在 extJS 标记字段中显示默认消息
How to show default message in extJS tagfield
我想在我的标签域下方放置一条默认消息。
我的代码:-
{
xtype: 'tagfield',
fieldLabel: 'Select a Show',
store: shows,
displayField: 'show',
valueField: 'id',
queryMode: 'local',
filterPickList: true
}
我想要一些标签 ex : "Hello" 在那个特定的盒子里
我想用一个面板,里面有两个项目
像这样,
{
xtype : 'panel',
items :[{
xtype : 'tagfield',
},{
HTML : "mYtEXT"
}]
}
但这需要很多 CSS 和太多的工作来玩。
有没有其他方法可以实现这一点。
标签字段中有 afterBodyEl
配置。
afterBodyEl: 'This is description'
我想在我的标签域下方放置一条默认消息。
我的代码:-
{
xtype: 'tagfield',
fieldLabel: 'Select a Show',
store: shows,
displayField: 'show',
valueField: 'id',
queryMode: 'local',
filterPickList: true
}
我想要一些标签 ex : "Hello" 在那个特定的盒子里
我想用一个面板,里面有两个项目 像这样,
{
xtype : 'panel',
items :[{
xtype : 'tagfield',
},{
HTML : "mYtEXT"
}]
}
但这需要很多 CSS 和太多的工作来玩。
有没有其他方法可以实现这一点。
标签字段中有 afterBodyEl
配置。
afterBodyEl: 'This is description'