Skip to content

Form.validationErrors disables input validation #239

Closed
@joker-777

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions