ngx-valdemort gives you simpler, cleaner validation error messages for your Angular components.
If you've ever written forms like the following:
Example :ngx-valdemort allows writing the above form in a simpler, cleaner way by using the ValidationErrorsComponent
:
Even better, you can define default error messages once, and use them everywhere, while still being able to override them when needed:
Example :It works with ngModel
too!
Learn more and see it in action on our web page
Using the CLI: ng add ngx-valdemort
Using npm: npm install ngx-valdemort
Using yarn: yarn add ngx-valdemort
ValdemortModule
, and other needed classes from ngx-valdemort<val-errors>
in your formsGo further:
<val-default-errors>
ValdemortConfig
servicePlease, provide feedback by filing issues, or by submitting pull requests, to the Github Project.