Use for questions about the AngularJS ng-messages module.
Questions tagged [ng-messages]
170 questions
0
votes
3 answers
Angular JS - How do I hide ng-message after form submit & valid entry
I'm building a simple form using AngularJS Messages.
Basically what I want to happen is:
User submits form, all appropriate errors show and prevents
submission
User then completes fields and errors hide one by one after 'focus out' of field…

LT86
- 635
- 2
- 15
- 29
0
votes
2 answers
AngularJS with ngMessages: skip pattern while length is invalid
I have such part of form:
0
votes
1 answer
Custom ng-Include directive without child scope - Ng-Messages not work
I have wrote a directive called lobInclude, I want the same that ngInclude but with no scope:
.directive("lobInclude", ["$templateRequest", "$compile", function($templateRequest, $compile) {
return {
restrict: "A",
…

Javier Ros
- 3,511
- 2
- 21
- 41
-1
votes
1 answer
AngularJS: ngMessages not working with ng-options in select
I have seen few answers which were working for ng-repeat, but with ng-options I am facing issue.
Problem : Want to show the error message required if the dropdown is touched and nothing is selected, I am able to do this with input fields.
JS…

NeverGiveUp161
- 824
- 12
- 33
-2
votes
1 answer
In angularjs, show ng-message if email already exists based on boolean return from server.
During registeration, when form submitted through ajax call and the response from the server is of boolean format.. how to handle the boolean value from the server to show ng-message indicating email already registered.. tried ng-show didn't work...…

Prem Santh
- 324
- 2
- 10