I develop a site with bootstrap and I am facing an issue with a select component. Here is the code
<tr>
<td>
<div class="textAlignCenter">
<select class="selectpicker" formControlName="maritalSituation">
<option value="" selected>Situation maritale</option>
<option value="MARIE">Marié</option>
<option value="DIVORCE">Divorcé</option>
<option value="CELIBATAIRE">Célibataire</option>
<option value="VEUF">Veuf</option>
</select>
</div>
</td>
</tr>
I use bootstrap-select to design the dropdown (https://www.npmjs.com/package/bootstrap-select), but it does not appear. When I inspect Firebug, I have the following class
select.selectpicker {
display: none !important;
}
So the select element is not visible. I don't understand, because I tried it with fiddle and it works (https://jsfiddle.net/flamant/3r6kucf8/4/)
The only class related select in my application is the following
select {
@extend input;
}
and when I remove it nothing change