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

Commit

Permalink
fix(ui): check for project name length before registration (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahscott committed May 20, 2020
1 parent cfd88b6 commit 7cd7761
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/Screen/ProjectRegistration/RegistrationDetailsStep.svelte
Expand Up @@ -120,6 +120,10 @@
pattern: new RegExp(NAME_MATCH),
message: `Project name should match ${NAME_MATCH}`,
},
length: {
maximum: 32,
message: "Project name cannot exceed 32 characters",
},
},
};
Expand Down

0 comments on commit 7cd7761

Please sign in to comment.