title: Bootstrap selectpicker does not work with bootstrap "has-error" class
body: <p>Im having trouble with bootstrap selectpicker and bootstraps "has-error" class. If an select tag has "has-error" class without selectpicker then a red border is niceley displayed around it. When i add the selectpicker then it is not. What can i do so that "has-error" will display a red border around select tag with bootstrap selectpicker?</p>
  
  <p>jsfiddle: <a href="http://jsfiddle.net/mfrup5bL/149/" rel="nofollow noreferrer">http://jsfiddle.net/mfrup5bL/149/</a></p>
  
  <p>code:</p>
  
  <pre><code>&lt;div class="form-group has-error"&gt;
      &lt;select class="form-control"&gt;
          &lt;option&gt;Option 1&lt;/option&gt;
          &lt;option&gt;Option 2&lt;/option&gt;
          &lt;option&gt;Option 3&lt;/option&gt;
      &lt;/select&gt;
  &lt;/div&gt;
  
  // include next line to see that red border dissapears
  // $('select').selectpicker();
  </code></pre>