colonyDapp icon indicating copy to clipboard operation
colonyDapp copied to clipboard

Add verification form validation

Open agnieszkajarosikloj opened this issue 2 years ago • 1 comments

Description

This PR adds form validation and shows if there are any errors in the form. Validation is written in Yup. Each step of the form is validated separately. If there are any errors message is displayed (above the continue button). User sees error counter and can click on Fix it button.

To test go to /incorporation/verification route.

New stuff

  • form validation

Changes 🏗

  • Added hook in core Select component that opens dropdown after clicking on "Fix it" button.

Resolves #4123

agnieszkajarosikloj avatar Jan 26 '23 05:01 agnieszkajarosikloj

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 26 '23 05:01 CLAassistant