<div class="row">
<div class="col-11">
<input type="password" class="form-control" placeholder="Your lastname" id="pwd">
</div>
<div class="col-1">
<div class="dropdown">
<button class="dropdown-toggle" type="button" id="about-us" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
</button>
<div class="dropdown-menu" aria-labelledby="">
<a class="dropdown-item" href="#">Male</a>
<a class="dropdown-item" href="#">Female</a>
</div>
</div>
</div>
</div>
I want to get drop down list inside input text field like in the image using bootstrap,but i am not able to get it, though i tried hard, And sorry if seems silly question as i am new to designing ,your help would be much appreciated, Thanks in advance.