Skip to content
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

Circular dependency (equalTo and notEqualTo) #95

Open
kirilmitev opened this issue Jun 27, 2017 · 2 comments
Open

Circular dependency (equalTo and notEqualTo) #95

kirilmitev opened this issue Jun 27, 2017 · 2 comments

Comments

@kirilmitev
Copy link

kirilmitev commented Jun 27, 2017

Lets say we have the "confirm password" situation - we have 2 form controls, password1 and password2, which should contain the same value. We might want to add the "equalTo"-validator to both controls, so that the "equalTo" error is attached to both of them. in their control.errors Array. This situation causes a circular dependency between the controls, as updating the value of one control updates the other, which in turn updates again the first control and so on.

I'll create a pull request for this shortly.

@rsaenen
Copy link

rsaenen commented Oct 12, 2017

Hi,
As no one answer, merge or update this repository, I forked it and fixed circular dependencies, build errors.
Can you make a PR on my branch ?

@kirilmitev
Copy link
Author

kirilmitev commented Oct 18, 2017 via email

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

No branches or pull requests

2 participants