select2 v4.0.3 ajax data

50 views
Skip to first unread message

artviel...@gmail.com

unread,
Nov 21, 2016, 10:15:35 PM11/21/16
to select2
How to trigger select2 ajax request programatically.

I tried

http://stackoverflow.com/questions/30517128/how-to-programmatically-inject-search-queries-into-select2-v4

but it doesn't work after selecting something I typed.

i tried adding keypress event on the searchbox but nothing happens.

sel22 is the expected, sel23 is the output of the keypress event.

sel21.png
sel22.png
sel23.png
Reply all
Reply to author
Forward
0 new messages