I need to change the "
<select data-plugin="selectpicker">
<option data-icon="wb-briefcase">Pessoa Jurídica</option>
<option data-icon="wb-heart">Pessoa Física</option>
</select>
I need to load this in my current Select, but the options will come from my viewmodel ... How do I make the images appear according to the enums that will come from my viewmodel?
<select asp-for="PessoaNatureza" asp-items="Model.PessoasNaturezas" class="form-control" data-plugin="selectpicker">
<option value="">--SELECIONE--</option>
</select>