DigitalExcellence / dex-frontend

Frontend for the Digital Excellence platform
https://dex.software
GNU Lesser General Public License v3.0
10 stars 5 forks source link

[Bug] {#556] Adding maxlength validator and error message for Project Name #590

Closed jrstrayhorn closed 2 years ago

jrstrayhorn commented 2 years ago

Description

Adding maxlength validation to Project Name step of Add Project Wizard. Checking project name length at step 1 of wizard vs after step 8's API call.

Type of change

Checklist

Steps to Test or Reproduce

Outline the steps to test or reproduce the PR here. These steps will be used during release testing.

  1. Go to step 1 of the Add Project wizard...
  2. Add over 75 characters to the name field...
  3. After that, you should see the error message and the Next button disabled.

Project Name Initial State project-name-initial-state

Project Name Error Message error-message-closer

Project Name Valid Name project-name-valid-message

Link to issue

Closes: #556