Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

question: Form-level vals validator trigger error message #1220

@dsreliete

Description

@dsreliete

The Problem

I'd like to show an error when comparing 2 diff form-fields (for example, password and confirm #password)

Steps to Reproduce

set up a form with 2 fields filled with diff content using a form-level validator and Error component

Expected Behavior

I don't know what to expect. I read all documentation and there is not a mention of it. Maybe if the second content field is diff from the first trigger an error message.

Actual Behavior

If I fill the fields with diff content and submit the form. It does not trigger any action but also does not show up any message.

Reproducible Code Example

(please fork from this CodePen template)

Metadata

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