title: Can't submit form with data-live-search as true (Bootstrap-select)
body: <p>I'm making a issue reporting form with categories and sub categories. The form also requires the user to add their e-mail address (from a list). The list has the <code>data-live-search = true</code> to give them the possibility to search for it in the list. </p>
  
  <p>The form submits if you first start to type in the search field for the e-mail and then selects it, but if you don't write in the search bar and just select it from the list (without typing anything), the form won't submit... This is what the form looks like (a simplified version, but still not working):</p>
  
  <pre><code>&lt;form role="form" name="form" id="form" action="file.php" method="post"&gt;
  
      &lt;!-- AUTHOR NAME --&gt;
      &lt;div class="form-group" id="form-group-author-name"&gt;
          &lt;label class="sr-only" for="author-name"&gt;Author's name&lt;/label&gt;
          &lt;input type="text" name="author-name" id="form-author-name" placeholder="Author's name" class="form-control" required&gt;
      &lt;/div&gt;
  
      &lt;!-- AUTHOR E-MAIL --&gt;
      &lt;div class="form-group" id="form-group-author-email"&gt;
          &lt;select class="selectpicker" name="author-email" id="form-author-email" data-width="100%" title="Author's e-mail" data-live-search="true" required&gt;
              &lt;option&gt;email1@example.com&lt;/option&gt;
              &lt;option&gt;email2@example.com&lt;/option&gt;
              &lt;option&gt;email3@example.com&lt;/option&gt;
              &lt;option&gt;email4@example.com&lt;/option&gt;
              &lt;option&gt;email5@example.com&lt;/option&gt;
          &lt;/select&gt;
          &lt;p class="help-block"&gt;Search for your e-mail.&lt;/p&gt;
      &lt;/div&gt;
      &lt;button type="submit" class="btn"&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I've also tried to add an event listener to the select field and use <code>$("#" + "form-author-email").selectpicker('refresh');</code> and <code>document.getElementById("form-author-email").value = $("#" + "form-author-email").val();</code> in case it was because of the field not updateing, but that wasn't working either. </p>
  
  <p>If I use <code>console.log($("#" + "form-author-email").val());</code> I still get the value selected, so I don't understand what the problem is.</p>