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

Form.validationErrors disables input validation #239

Closed
joker-777 opened this issue Oct 15, 2015 · 1 comment · Fixed by #242
Closed

Form.validationErrors disables input validation #239

joker-777 opened this issue Oct 15, 2015 · 1 comment · Fixed by #242

Comments

@joker-777
Copy link

Hi,

I have a validation for an input tag but also want to be able to apply errors on it from the outside manually. I'm trying to do this with Form.validationErrors but it completely disable the input validation when Form.validationErrors = {} is set. If I set Form.validationErrors = {number: 'wrong number'} It shows the error message and the input validation works. Unfortunately the error message displayed from Form.validationErrors doesn't get removed nor updated.

What do I do wrong? It would be great if you could help me to set it up. Thanks also for your awesome react plugin.

@easyrider
Copy link

Hi,
I had a similar issue and solved it that way: #242

easyrider pushed a commit to easyrider/formsy-react that referenced this issue Oct 20, 2015
Semigradsky added a commit that referenced this issue Nov 3, 2015
Fix: Form.validationErrors disables input validation #239
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 a pull request may close this issue.

2 participants