EXTJS modern combobox autocomplete spinner picker instead of usual picker

129 views Asked by At

We do have a combobox to autocomplete like a search field.

If it is on the modern toolkit. the picker is changed to the spinner selector and you cannot type anymore.

How can I prevent the picker change in modern or how could I do like a search autocomplete in the modern framework.

seems like if you set the combobox queryMode to remote, it does not work well in the modern framework.

{
                        xtype: 'combobox',
                        itemId: 'cmbName',
                        style: { color: '#4944FF' },
                        viewModel: {
                            type: 'peopleModel'
                        },
                        bind: {
                            store: '{peopleStore}'
                        },
                        hideLabel: true,
                        enableKeyEvents: true,
                        placeholder: 'Enter name (type min. 3 letters)',
                        hiddenName: 'lastname',
                        name: 'lastname',
                        forceSelection: false,
                        submitValue: false,
                        displayField: 'lastname',
                        valueField: 'lastname',
                        queryMode: 'remote',
                        matchFieldWidth: false,
                        multiSelect: false,
                        minChars: 3,
                        pageSize: 10,
                        listeners: {
                            select: 'onSelect'
                        }
                    }
0

There are 0 answers