title: PrimeNG calendar bug when applying css class from bootstrap
body: <p>I have this strange bug where I use PrimeNG to display a DatePicker in my application. When I try to use bootstrap's <code>form-control</code>, I get a visual bug.</p>
  
  <p>Here is my template:</p>
  
  <pre><code>&lt;div class="form-group row"&gt;
      &lt;div class="form-group col-md-2"&gt;
          &lt;label for="valeur"&gt;Valeur&lt;/label&gt;
          &lt;input type="number" id="valeur" class="form-control" /&gt;
      &lt;/div&gt;
  
      &lt;div class="form-group col-md-5"&gt;
          &lt;label for="dateDebut"&gt;Date de début&lt;/label&gt;
          &lt;p-calendar id="dateDebut" dateFormat="dd/mm/yy" styleClass="form-control" [showIcon]="true"&gt;&lt;/p-calendar&gt;
      &lt;/div&gt;
  
      &lt;div class="form-group col-md-5"&gt;
          &lt;label for="dateFin"&gt;Date de fin&lt;/label&gt;
          &lt;p-calendar id="dateFin" dateFormat="dd/mm/yy" styleClass="form-control" [showIcon]="true"&gt;&lt;/p-calendar&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is the result:</p>
  
  <p><a href="https://i.stack.imgur.com/4uGAp.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4uGAp.png" alt="enter image description here"></a></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>If it's of any help, here is the generated HTML:</p>
  
  <pre><code>&lt;div class="form-group col-md-5" _ngcontent-scp-1=""&gt;
     &lt;label for="dateDebut" _ngcontent-scp-1=""&gt;Date de début&lt;/label&gt;
     &lt;p-calendar ng-reflect-show-icon="true" ng-reflect-date-format="dd/mm/yy" ng-reflect-style-class="form-control" styleclass="form-control" id="dateDebut" dateformat="dd/mm/yy" _ngcontent-scp-1=""&gt;
        &lt;!--template bindings={
           "ng-reflect-ng-if": "true"
           }--&gt;
        &lt;span ng-reflect-initial-classes="form-control" class="form-control ui-calendar" ng-reflect-raw-class="ui-calendar"&gt;
           &lt;input id="dp1467976345328" ng-reflect-value="" class="hasDatepicker ui-inputtext ui-widget ui-state-default ui-corner-left" ng-reflect-raw-class="[object Object]" type="text"&gt;&lt;!--template bindings={
              "ng-reflect-ng-if": "true"
              }--&gt;&lt;button ng-reflect-icon="fa-calendar" type="button" pbutton="" class="ui-datepicker-trigger ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only"&gt;&lt;span class="ui-button-icon-left ui-c fa fa-fw fa-calendar"&gt;&lt;/span&gt;&lt;span class="ui-button-text ui-c"&gt;ui-button&lt;/span&gt;&lt;/button&gt;
        &lt;/span&gt;
        &lt;!--template bindings={
           "ng-reflect-ng-if": "false"
           }--&gt;
     &lt;/p-calendar&gt;
  &lt;/div&gt;
  </code></pre>