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

fixed validation logic of input component #85

Closed
wants to merge 1 commit into from
Closed

fixed validation logic of input component #85

wants to merge 1 commit into from

Conversation

florianbepunkt
Copy link

When using an array of validators, the valid property stayed false forever after the first time it was set to false. fixed this behaviour. fixes #84

When using an array of validators, the valid property stayed false forever after the first time it was set to false. fixed this behaviour.
@ainesophaur
Copy link

Unfortunately I don't believe this works well either (from what I've tested) as it'll then remain true forever when it encounters a successful validation.

I don't believe map is the best transformation to use. I'm preparing a PR to address both the issue this was meant to solve and the issue it also brought up.

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

Successfully merging this pull request may close these issues.

Validation not returning correct valid poperty
2 participants