diff --git a/web/components/project/create-project-modal.tsx b/web/components/project/create-project-modal.tsx index e8a85600f..83c7851b9 100644 --- a/web/components/project/create-project-modal.tsx +++ b/web/components/project/create-project-modal.tsx @@ -308,8 +308,8 @@ export const CreateProjectModal: FC = observer((props) => { message: "Identifier must at least be of 1 character", }, maxLength: { - value: 12, - message: "Identifier must at most be of 12 characters", + value: 6, + message: "Identifier must at most be of 6 characters", }, }} render={({ field: { value, onChange } }) => ( diff --git a/web/components/project/form.tsx b/web/components/project/form.tsx index f4d753885..9af8c7831 100644 --- a/web/components/project/form.tsx +++ b/web/components/project/form.tsx @@ -232,7 +232,7 @@ export const ProjectDetailsForm: FC = (props) => { /> -
+

Identifier

= (props) => { message: "Identifier must at least be of 1 character", }, maxLength: { - value: 12, - message: "Identifier must at most be of 5 characters", + value: 6, + message: "Identifier must at most be of 6 characters", }, }} render={({ field: { value, ref } }) => ( @@ -265,6 +265,7 @@ export const ProjectDetailsForm: FC = (props) => { /> )} /> + {errors?.identifier?.message}