I can't seem to find the solution for this. I'm trying to hide the default selected item from a bootstrap-select dropdown like the following:
<select class="selectpicker">
<option selected>Mustard</option>
<option>Ketchup</option>
<option>Relish</option>
</select>
In this case, 'Mustard' is the default selected value and shouldnt be shown in the dropdown. Can anyone help me with this?
UPDATE: In addition to the accepted answer by ObsidianAge I wanted to note that if you're using this with bootstrap-select.js you should change the CSS to:
.dropdown-menu.inner > li.selected {
display: none;
}