christianalfoni/formsy-react

Validation error for custom validation is not working

vikasrohit opened this issue · 2 comments

I have a custom validation for my formsy implementation and I am using HOC to convert my custom components to be formsy components. Now the problem is that when I try to specify the validation error for the custom validation via validationErrors property, getErrorMessage() call does not return the validation message. It works if I add validationError though.

Is it something which is wrong with my configuration/code or a known bug?

Hey @vikasrohit! This project is now managed at formsy/formsy-react.

Could you re-create your issue there, and include some relevant snippets of your code? As far as I'm aware, this is not a known bug. You should be getting the correct error message with validationErrors.

Thanks @rkuykendall for pointer. I would file it at appropriate location.