Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

valdrMessage does not add messages of angular validation directives #90

Closed
mmatczak opened this issue Jul 27, 2015 · 2 comments
Closed
Assignees

Comments

@mmatczak
Copy link

The valdrMessage directive does not add messages when a custom AnglarJS validation directive is added. This happens only when this custom validation is the only validator on a field - see this plnkr for details: http://plnkr.co/edit/Og3u8FhE7HTt2EFCj03R?p=preview

The reason is the $watch not being triggered in the valdrMessage directive. I have created a pull request containing a fix: #89

The plnkr also contains the fixed version of valdr-messages.js, which can be activated in the index.html, to see how it works.

@philippd
Copy link
Collaborator

Thanks a lot for reporting and the fix. It's merged and the fix will be released soon.

@philippd
Copy link
Collaborator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants