chore: increase project identifier max length (#1638)

This commit is contained in:
Aaryan Khandelwal 2023-07-24 12:57:05 +05:30 committed by GitHub
parent f3b09a13b8
commit 29b04bb3ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -95,7 +95,6 @@ export const CreateProjectModal: React.FC<Props> = ({ isOpen, setIsOpen, user })
setValue,
} = useForm<IProject>({
defaultValues,
mode: "all",
reValidateMode: "onChange",
});
@ -298,8 +297,8 @@ export const CreateProjectModal: React.FC<Props> = ({ isOpen, setIsOpen, user })
message: "Identifier must at least be of 1 character",
},
maxLength: {
value: 5,
message: "Identifier must at most be of 5 characters",
value: 12,
message: "Identifier must at most be of 12 characters",
},
}}
/>