How to choose a combo value when you press the enter button

How to select a combo value when you press the enter button.

I use combobox, and the values โ€‹โ€‹go with the click of a mouse and press enter. But when I select the second value by pressing the enter button, the first value will disappear. I use the keyboard and value in the search. How to solve this problem.

In my scripter, select two values โ€‹โ€‹by pressing enter, the first value will disappear by clicking the second.

Please help me fix this. MyFiddler

Note. I do not want to use tagfield.

+5
source share
1 answer

The Combobox control is intentionally built around just one choice. This is used to support multi-select , but it has been deprecated since Ext 5.1 and seems to disappear or break in unpleasant ways.

The only built-in way to do what you need is to use tag fields (which you don't want to specify) or Ext.view.MultiSelector . The latter is not a separate field, but a grid option .

+1
source

All Articles