diff --git a/apps/app/components/project/create-project-modal.tsx b/apps/app/components/project/create-project-modal.tsx index d9c6c24d3..ef34320fa 100644 --- a/apps/app/components/project/create-project-modal.tsx +++ b/apps/app/components/project/create-project-modal.tsx @@ -95,7 +95,6 @@ export const CreateProjectModal: React.FC = ({ isOpen, setIsOpen, user }) setValue, } = useForm({ defaultValues, - mode: "all", reValidateMode: "onChange", }); @@ -298,8 +297,8 @@ export const CreateProjectModal: React.FC = ({ 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", }, }} /> diff --git a/apps/app/components/ui/dropdowns/custom-menu.tsx b/apps/app/components/ui/dropdowns/custom-menu.tsx index 280bd6794..c451d4432 100644 --- a/apps/app/components/ui/dropdowns/custom-menu.tsx +++ b/apps/app/components/ui/dropdowns/custom-menu.tsx @@ -40,7 +40,7 @@ const CustomMenu = ({ {({ open }) => ( <> {customButton ? ( - + {customButton} ) : ( diff --git a/apps/app/components/ui/dropdowns/custom-search-select.tsx b/apps/app/components/ui/dropdowns/custom-search-select.tsx index 518bc5ab8..22f66626e 100644 --- a/apps/app/components/ui/dropdowns/custom-search-select.tsx +++ b/apps/app/components/ui/dropdowns/custom-search-select.tsx @@ -73,6 +73,7 @@ export const CustomSearchSelect = ({ {customButton} ) : ( {customButton} ) : (