title: Select2.js v4.0: how set the default selected value with a local array data source?
body: <p>By using <a href="https://select2.github.io/" rel="noreferrer">select2.js</a> v4  plugin , how set the default selected value when I use a local array data for source?</p>
  
  <p>for example with this code</p>
  
  <pre><code>var data_names = [{
    id: 0,
    text: "Henri",
  }, {
    id: 1,
    text: "John",
  }, {
    id: 2,
    text: "Victor",
  }, {
    id: 3,
    text: "Marie",
  }];
  
  $('select').select2({
    data: data_names,
  });
  </code></pre>
  
  <p>How set id 3 as the default selected value?</p>