select2 removes default options when using ajax
问题 I am trying to setup my pre defined select options in select2 with ajax but when I am using the ajax and clicking on the select2 it removes the html options I had there before, any idea how can I make it to leave the options as they are and not remove them until I am typing some unrelevant char? I believe it is not clear so I made fiddle with both cases so you will get better understanding the HTML <select id="e1" style="width:300px"> <option value="AL">Alabama</option> <option value="Am"