Javascript 如何在extJS标记字段中显示默认消息
我想在我的标记字段下方放置一条默认消息Javascript 如何在extJS标记字段中显示默认消息,javascript,css,extjs,extjs6,tagfile,Javascript,Css,Extjs,Extjs6,Tagfile,我想在我的标记字段下方放置一条默认消息 afterBodyEl: 'This is description' 我的代码:- { xtype: 'tagfield', fieldLabel: 'Select a Show', store: shows, displayField: 'show', valueField: 'id', queryMode: 'local',
afterBodyEl: 'This is description'
我的代码:-
{
xtype: 'tagfield',
fieldLabel: 'Select a Show',
store: shows,
displayField: 'show',
valueField: 'id',
queryMode: 'local',
filterPickList: true
}
我想要一些标签,比如在那个盒子里的“你好”
我被认为是使用一个面板和内部两个项目
像这样,
{
xtype : 'panel',
items :[{
xtype : 'tagfield',
},{
HTML : "mYtEXT"
}]
}
但是,这需要大量的CSS和太多的工作
有没有其他方法可以达到这个目的 标记字段中有
afterBodyEl
config
afterBodyEl: 'This is description'
标记字段中有
afterBodyEl
config
afterBodyEl: 'This is description'
谢谢,这太棒了。有什么方法可以改变颜色吗?afterBodyEl会接受html。有了它,您可以注入样式或类
afterBodyEl:“这是描述1”
谢谢这太棒了。有什么方法可以更改颜色吗?afterBodyEl将接受html。有了它,您可以注入样式或类<代码>后车身:“这是说明1”