Skip to content

Commit f48b843

Browse files
authored
Merge pull request #3209 from glific/enhancement/character-limit
Removed character limit for registered name
2 parents 6fda662 + acf69d8 commit f48b843

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/containers/Organization/Onboarding/Steps/PlatformDetails.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const PlatformDetails = ({ handleStepChange, saveData }: FormStepProps) =
2626
const [loading, setLoading] = useState(false);
2727

2828
const FormSchema = Yup.object().shape({
29-
name: Yup.string().required(t('Name is required.')).max(40, t('Name should not exceed 40 characters')),
29+
name: Yup.string().required(t('Name is required.')),
3030
app_name: Yup.string().required(t('App name is required.')),
3131
api_key: Yup.string().required(t('API key is required.')),
3232
shortcode: Yup.string()

src/i18n/en/en.json

-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@
489489
"Designation is required.": "Designation is required.",
490490
"Phone number is required.": "Phone number is required.",
491491
"Enter a valid email.": "Enter a valid email.",
492-
"Name should not exceed 40 characters": "Name should not exceed 40 characters",
493492
"App name is required.": "App name is required.",
494493
"API key is required.": "API key is required.",
495494
"Please agree to the terms and conditions.": "Please agree to the terms and conditions.",

0 commit comments

Comments
 (0)