Skip to content

Add form wide validation #330

@will-fgmnt

Description

@will-fgmnt

Current validation is field level only. It would be great if there was the ability to validate the form as a whole with the error message appear above or below the form (preferably configurable).

My use case is I have a password and passwordConfirm fields which I want to match. Putting a validator on one or both fields won't work as they are dependant on each other.

An alternative approach would be a formOption which runs all field validator whenever any field changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions