Question

I wanted to customize to use "Shift + arrow key" to select multiple suggestions on the magicsuggest plug-in..

JSFiddle - http://jsfiddle.net/ZyA7B/16/

Step 1 : User selecting the suggestions using SHIFT (or) CTRL key :

Step 2 : Once selected the multiple suggestions and get the value in the textbox as follows below:

Step 1 : https://i.stack.imgur.com/BhauA.png

Thanks

Was it helpful?

Solution

Please find the customized plug-in which supports SHIFT + CTRL key to select multiple selection on the autocomplete.

Demo Here : [http://jsfiddle.net/jcxbgomd/][1]

OTHER TIPS

(disclaimer: i'm the plugin author)

That's not currently possible, as of this recent 2.0.0 release. You can always fork the project. You would have to rewrite part of the handlers _onKeyUp and _onKeyDown which currently mitigates the usage of Shift, Ctrl, etc.... during selection.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top