You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
easyrider
pushed a commit
to easyrider/formsy-react
that referenced
this issue
Oct 19, 2015
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 whenForm.validationErrors = {}
is set. If I setForm.validationErrors = {number: 'wrong number'}
It shows the error message and the input validation works. Unfortunately the error message displayed fromForm.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.
The text was updated successfully, but these errors were encountered: