Skip to content

Validation error for custom validation is not working #21

@vikasrohit

Description

@vikasrohit

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?

Update: CodePen for reproducing the problem. https://codepen.io/vikasrohit/pen/yPPPqj Please note that it is not showing error messages for minLength or isNumeric validations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions