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.