coco62 coco62 - 1 year ago 84
AngularJS Question

glyphicon input wrong bootstrap angularjs

I have a little problem, When I want to externalize my input, the position of my glyphicon is wrong but I don't know why.

<div class="form-group"
ng-class="{ 'has-error has-feedback': comment_fields.$submitted && comment_fields.test.$invalid }">
<input-test model-ua="$ctrl.test"></input-test>
<span ng-show="comment_fields.$submitted && comment_fields.test.$invalid"
class="glyphicon glyphicon-remove form-control-feedback"></span>

Answer Source

If this is a position placement issue with the glyphicon I would suggest adding this CSS:

  top: 0px;
  left: 0px

You will have to play around with the top and left positions to get it where you need.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download