title: Adminlte multi select searching display in laravel
body: <p>I am using <a href="https://adminlte.io/themes/dev/AdminLTE/pages/forms/advanced.html" rel="nofollow noreferrer">Adminlte 3 Multiple (.select2-purple)</a> in laravel 6, and I got a error like this</p>
  
  <p>I don't know why searching... is showing</p>
  
  <p><a href="https://i.stack.imgur.com/HUtdh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HUtdh.png" alt="enter image description here"></a></p>
  
  <p>Here's my code:
  <strong>VIEW</strong></p>
  
  <pre><code>&lt;div class="col-md"&gt;
      &lt;div class="form-group"&gt;
        &lt;label&gt;Technician&lt;/label&gt;
        &lt;div class="select2-purple"&gt;
          &lt;select class="select2" multiple="multiple" data-placeholder="Select a Technician" data- 
                    dropdown-css-class="select2-purple" style="width: 100%;"&gt;
            @foreach($stations as $station)
              &lt;option id="{{ $station-&gt;id }}"&gt;{{ $station-&gt;name }}&lt;/option&gt;
            @endforeach
          &lt;/select&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
  $('.select2').select2()
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>   public function totaltestperform(){
        $stations = \DB::table('stations')
           -&gt;select('id','station')
           -&gt;orderby('id')
           -&gt;get();
       return view("analytic/total_test_perform",compact('stations'));
  </code></pre>
  
  <p>}</p>
  
  <p>Here's the output of station variable when I use <code>dd($stations);</code></p>
  
  <p><a href="https://i.stack.imgur.com/SyooV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SyooV.png" alt="enter image description here"></a></p>