my select option showed like this
and my current code
<select class="rule-partner-select form-control select2" name="partner_name" id="partner_name_1">
<option value="" disabled selected>SelectPartner</option>
</select>
I assign options in select dynamically by ajax.
select2 code here
$('.select2').select2();
but I want to show like this by select2