When I use the following code for input filed,The code works properly and the tag is searched. But when I use the select2 The code no longer works.
i\'m using this code i