react-redux-form icon indicating copy to clipboard operation
react-redux-form copied to clipboard

question: Form-level vals validator trigger error message

Open dsreliete opened this issue 5 years ago • 0 comments

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)

dsreliete avatar Apr 01 '20 00:04 dsreliete