-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serialization of validator functions that accept arguments #200
Comments
Will probably introduce a breaking change to solve this. |
Hi @udos86, |
In order to use custom validators please provide them via But there is a bug, you're right! |
@DavyJohnes Please have a look at 8ddf56c. This fix allows you to reference any custom validator given that it's provided via |
@udos86 thanks a lot, will try to use this new approach. |
@DavyJohnes You're welcome! Thank you for letting me know about the bug. |
@DavyJohnes I've added a little guide in the README.md: https://github.com/udos86/ng2-dynamic-forms#custom-validators |
Validators
that accept an argument likeValidators.maxLength
cannot be serialized at the moment.The text was updated successfully, but these errors were encountered: