I'm encountering an issue regarding the alignment of bootstrap feedback. The form-control-feedback
when used with a dropdown list does not align correctly. I would like it to appear in the right corner after the dropdown list, similar to how it displays in IE 11 (see screenshot below). It seems to work somewhat in IE 11 but not in other browsers such as Firefox, Chrome, and Safari. After doing some research, I have been unable to find a solid workaround or solution, and I am unsure if this is a bug or intended behavior.
You can view a fiddle I created here: http://jsfiddle.net/12qcwbbw/.
It appears that this CSS rule
.has-feedback .form-control{padding-right: 42.5px;}
only functions properly in IE 11.
Below are screen-casts showing the rendering on different browsers;
This is how it looks in IE 11 and what I desire in other browsers:
https://i.sstatic.net/Q466e.jpg
Firefox
https://i.sstatic.net/aTAJh.jpg
Google Chrome
https://i.sstatic.net/ejWBa.jpg
Safari
https://i.sstatic.net/freHU.jpg
Here is my HTML code snippet:
<div class="form-horizontal middle" >
<div class="col-xs-12 col-sm-12">
<div class="form-group">
<label class="col-xs-12 col-sm-3 control-label">Full Name</label>
<div class="col-xs-12 col-sm-9 has-feedback" >
<input type="text" class="form-control text-capitalize" name="FullName" id="txtFullName"
placeholder="Full Name" />
<span class="glyphicon glyphicon-remove text-danger form-control-feedback">
</span>
</div>
</div>
<div class="form-group ">
<label class="col-xs-12 col-sm-3 control-label">Gender</label>
<div class="col-xs-12 col-sm-9 has-feedback">
<select class="form-control">
<option>Male</option>
<option>Female</option>
<option>Other</option>
</select>
<i class="glyphicon glyphicon-remove text-danger form-control-feedback"></i>
</div>
</div>
</div>
Any suggestions for a workaround would be greatly appreciated!