Pregunta

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

¿Fue útil?

Solución

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]

Otros consejos

(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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top