javascript - MultiSelect combobox in modern ExtJS - Stack Overflow

Something strange has happened and easy-to-use property multiSelect has gone deprected for some reason.

Something strange has happened and easy-to-use property multiSelect has gone deprected for some reason. Documentation advises to

Use {@link Ext.form.field.Tag} or {@link Ext.view.MultiSelector}

but does not provide any example. So if I have an ordinary bobox, how can I make it multiselectable?

Something strange has happened and easy-to-use property multiSelect has gone deprected for some reason. Documentation advises to

Use {@link Ext.form.field.Tag} or {@link Ext.view.MultiSelector}

but does not provide any example. So if I have an ordinary bobox, how can I make it multiselectable?

Share Improve this question asked Sep 9, 2016 at 16:25 JacobianJacobian 10.9k32 gold badges140 silver badges233 bronze badges 3
  • Please change you question to "Multiselect bobox in classic Extjs", you have accpeted the answer so it means you are using classic toolkit – Waqar Haider Commented May 22, 2017 at 11:24
  • and tag field is not available in modern modern toolkit, is it? – Waqar Haider Commented May 22, 2017 at 11:24
  • @Jacobian The words "Modern" and "Classic" refer to very specific versions of ExtJS. As written, the title of this question is awfully confusing. Please correct the title as Waqar has already requested and I will remove my down-vote. – Jasel Commented Dec 7, 2018 at 14:37
Add a ment  | 

1 Answer 1

Reset to default 4

Instead of an ordinary bobox with multiSelect, you should use tagfield. Configuration is basically the same.

{
    xtype: 'tagfield',
    fieldLabel: 'My first tagfield',
    store: {
        ...
    },
    displayField: 'name',
    valueField: 'id',
    queryMode: 'local',
}

You can checkout an example here

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745600356a4635364.html

相关推荐

  • javascript - MultiSelect combobox in modern ExtJS - Stack Overflow

    Something strange has happened and easy-to-use property multiSelect has gone deprected for some reason.

    14小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信