質問

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

役に立ちましたか?

解決

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]

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top