How to programmatically inject search queries into Select2 v4?
Select2 used to provide a select2(‘search’, ‘term’) helper method that would have assisted with this, but it was not brought over to Select2 4.0.0. There are a couple of ways that this could be done, but in general they all follow the same pattern of steps Open the Select2 dropdown Enter the search text into … Read more