Jacobian Jacobian - 1 year ago 530
Javascript Question

MultiSelect combobox in modern ExtJS

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 combobox, how can I make it multiselectable?

Answer Source

Instead of an ordinary combobox 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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download