简体   繁体   中英

How to show default message in extJS tagfield

I want to place one default message just below to my tagfield.

My code : -

{
          xtype: 'tagfield',
          fieldLabel: 'Select a Show',
          store: shows,
          displayField: 'show',
          valueField: 'id',
          queryMode: 'local',
          filterPickList: true
    }

I want Some tag ex : "Hello" in that particular box

在此处输入图片说明

I was think to use a panel and inside two items like this,

{
    xtype : 'panel',
    items :[{
        xtype : 'tagfield',
    },{
        HTML : "mYtEXT"
    }]
}

but that is required lots OF CSS and too much work for play around.

Is There any other way by which I can achieve this.

afterBodyEl中有afterBodyEl配置。

afterBodyEl: 'This is description'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM