Created by: KyleMit
It's a relatively common use case to add a glyphicon inside of an input box on the left and right. Most of that functionality has already been developed with form-control-feedback
, and it would be nice to make a few minor tweaks to add the ability to left align the icon as well.
Here is a demo in plunker illustrating most of the possible alignment scenarios
I used this as a test case to make sure that the alignment stayed true across multiple form configurations, including basic, horizontal, inline, alternative sizing, with and without labels, and using both glyphicons and font awesome.
To get a scope of the desire to do this natively with Bootstrap, here a stack overflow question I answered with 38k+ views about adding a Glyphicon to an Input Box