Open wmlockhart opened 8 years ago
I had same problem, i use angular-messages and my message looks:
<div ng-message="required">error message</div>
decision was change 'required' to 'autocomplete-required' and it's helped for me
<div ng-message="autocomplete-required">error message</div>
Is this an issue or am I doing something wrong?
I have the following AngularJS form:
How do I get the validation message to show and then hide when I select from angucomplete-alt?
I have tried:
<p class="" style="color:red;" ng-show="opportunityForm.person.$error.required">Please associate a Person.</p>
and the message doesn't display.
I have also tried:
<p class="" style="color:red;" ng-show="opportunityForm.person.$error">Please associate a Person.</p>
the message shows but doesn't hide when I select.
I would really appreciate your help as this directive is really cool and I want to use it in my project.
Thanks.