I want to add one icon to placeholder like this
$(\"#tag_list\").select2({ allowClear: true, placeholder: \"
You can specify a placeholder object, rather than only the text. This will render the HTML.
So in your case, the placeholder might look something like this.
$("#tag_list").select2({ placeholder: { id: "-1", text: ' input your tags...' } });