title: Why is select2 not initializing in my example?
body: <p>Why is select2 not initializing?  My code is pretty straight forward.  I can't seem to figure out what I'm doing wrong here.</p>
  <pre><code>**js**
  
  const $form = $(&quot;#c8ef8fd3-cc91-4e5f-a8ed-8923418098a4.png-edit-form&quot;)
  $(&quot;#c8ef8fd3-cc91-4e5f-a8ed-8923418098a4.png-tags&quot;, $form).select2({
      tags: true,
      allowClear: true,
      width: &quot;100%&quot;,
      theme: &quot;classic&quot;,
      debug: &quot;true&quot;,
      placeholder: &quot;Add one or more tags&quot;
  });
  
  
    **html**
  
    &lt;form id=&quot;c8ef8fd3-cc91-4e5f-a8ed-8923418098a4.png-edit-form&quot; action=&quot;/apps/media/batch-update&quot; enctype=&quot;multipart/form-data&quot; method=&quot;POST&quot;&gt;
        &lt;select name=&quot;thetags&quot; id=&quot;c8ef8fd3-cc91-4e5f-a8ed-8923418098a4.png-tags&quot; multiple&gt;
          
            &lt;option selected=&quot;teams&quot;&gt;teams&lt;/option&gt;
            &lt;option selected=&quot;sports&quot;&gt;sports&lt;/option&gt;
          
        &lt;/select&gt;
  &lt;/form&gt;
  </code></pre>