I have a small problem with adding feedback buttons in AngularJS. The has-error
works but when i add the has-feedback
i do not get any feedback response but has-error
still works.
I think there is something wrong with the way i added the has-feedback
but i'm not sure.
<div class="form-group" ng-class="{ 'has-error has-feedback': form.email.$dirty && form.email.$invalid }">
<label for="email"> Email</label>
<input type="text" ng-model="signup.email" ng-model-options="{ debounce: 500 }" name="email" id="email" class="form-control" required email-validator>
<div class="help-block" ng-messages="form.email.$error" ng-if="form.email.$dirty">
<p ng-message="required">Your name is required.</p>
<div ng-message="email" class="help-block" >email already in use</div>
</div>
Update 1
When i add following class i can see a icon but it's completely out if sync with the form and probably not the right way:
<span class="glyphicon glyphicon-ok form-control-feedback"></span>
`