This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngMessages render adjustment #13009
Open
Description
Hi!
Lately we were using the ngMessages with a decorator to show a backdrop on errors. With the new version the render method inside the directive controller is not easy to decorate with such business logic to decide if there is an error or not. Any way to solve this?
Suggestion is like to add a : return unmatchedMessages.length !== totalMessages; to the render method end. (angular-messages.js line 391)