0

我想在我的标签字段下方放置一条默认消息。

我的代码: -

{
          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 和太多的工作。

有没有其他方法可以实现这一目标。

4

1 回答 1

2

标签字段中有afterBodyEl配置。

afterBodyEl: 'This is description'
于 2017-03-14T15:38:38.717 回答