diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx index 2db852714..4f86e5cf9 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/settings/index.tsx @@ -255,7 +255,7 @@ const GeneralSettings: NextPage = () => {

Identifier

- Create a 1-6 characters{"'"} identifier for the project. + Create a 1-5 characters{"'"} identifier for the project.

@@ -268,13 +268,15 @@ const GeneralSettings: NextPage = () => { placeholder="Enter identifier" validations={{ required: "Identifier is required", + validate: (value) => + /^[A-Z]+$/.test(value) || "Identifier must be uppercase text.", minLength: { value: 1, message: "Identifier must at least be of 1 character", }, maxLength: { - value: 9, - message: "Identifier must at most be of 9 characters", + value: 5, + message: "Identifier must at most be of 5 characters", }, }} />