From 3b83fb3c339d4e4a22d7e4e013da65e7bbb7946f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Saracca?= Date: Fri, 7 Feb 2025 15:50:46 -0300 Subject: [PATCH] fix: match values --- .../collection-form/top-fields-section/TopFieldsSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sections/shared/form/EditCreateCollectionForm/collection-form/top-fields-section/TopFieldsSection.tsx b/src/sections/shared/form/EditCreateCollectionForm/collection-form/top-fields-section/TopFieldsSection.tsx index 76e0297ce..3f3ec3c93 100644 --- a/src/sections/shared/form/EditCreateCollectionForm/collection-form/top-fields-section/TopFieldsSection.tsx +++ b/src/sections/shared/form/EditCreateCollectionForm/collection-form/top-fields-section/TopFieldsSection.tsx @@ -26,14 +26,14 @@ export const TopFieldsSection = ({ isEditingRootCollection }: TopFieldsSectionPr required: t('fields.name.required'), maxLength: { value: 120, - message: t('fields.name.invalid.maxLength', { maxLength: 60 }) + message: t('fields.name.invalid.maxLength', { maxLength: 120 }) } } const affiliationRules: UseControllerProps['rules'] = { maxLength: { value: 120, - message: t('fields.affiliation.invalid.maxLength', { maxLength: 100 }) + message: t('fields.affiliation.invalid.maxLength', { maxLength: 120 }) } }