How to work with combo having images inside in extjs 4.1

前端 未结 3 1148
执念已碎
执念已碎 2021-01-21 13:55

I try to create a combo with an image (or something else) and when I choose an option, value in combo has some options.

I create a combo box look like:<

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-21 14:26

    Remove {name} from displayTpl like below:

    displayTpl:
    Ext.create('Ext.XTemplate',
      '',
      '{abbr}',
      ''
    ),

提交回复
热议问题