<div class="row">
<div class="col-11">
<input type="password" class="form-control" placeholder="Enter your last name" 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 am trying to achieve a dropdown list inside an input text field, similar to what is shown in this image using bootstrap. Despite my efforts, I have been unable to accomplish this task. Please excuse my lack of experience in design - any assistance would be greatly appreciated. Thank you in advance.