title: Clear search term and reload all items of Select2 input after selecting any item
body: <p>I have a <code>select2</code> Input text field in my page in which I am loading items dynamically on focus event of Input field. </p>
  
  <p>When I enter some search text let's say 'vai' then the result items are loaded as 'vaibhav1', 'vaibhav2', 'vaibhav3', 'vaibhav4' with focus on first item. If I press enter key it gets selected. </p>
  
  <p>Now what I want is to clear the search term 'vai' and the items list should be refreshed displayed containing all remaining records including last searched items. Below is my javascript code under <code>$(document).ready(function)</code> for the select2 input field.</p>
  
  <pre><code>function format(item) { return item.name; };
  // select2 multiple select feature for Impact Area initialization
  var test = $('#impactArea'); 
  $(test).select2({
      formatSelection: format,
      formatResult: format ,
      multiple: true,
      width: "612px",
      height: "50px",
      closeOnSelect : false,
      maximumSelectionSize : 20,
      ajax: { 
          type: "GET",
          url: "/progressManagement/testingIssue/impactAreaList",
          dataType: 'json',
          data: function (term) {
            return { q: term };
         },
          results: function (data) {
            return {results: data};
          }
         } ,
         initSelection: function(element, callback) { 
             var rangeList=$('#impactArea').val();
             var id=$(element).val();
              if (id!=="") {
              $.ajax("/progressManagement/testingIssue/selectedImpactArea", {
                  data: { rangeList: rangeList },
                  dataType: "json"
              }).done(function(data) { 
                  callback(data); 
              });
              }
          } 
  });
  </code></pre>
  
  <p>I tried searching in the select2js file to find a function or a flag which could be used for this, please help me if you guys have any ideas about this. Let me know if I am not clear in specifying my requirements or approach. Thanks in advance :)</p>