Remove number validation from Sponsor Name in confirmation and rejection popups

This commit is contained in:
satyam70288
2025-01-18 11:28:42 +00:00
parent 05f1d4055e
commit 2b89e52e58
3 changed files with 0 additions and 3 deletions

View File

@@ -29,7 +29,6 @@ export const conformModalSchema = yup.object().shape({
.string()
.min(2, "Minimum length should be 150 characters.")
.max(150, "Maximum length should be 150 characters.")
.matches(/^[^\d]+$/, "Sponsor Name cannot contain numbers")
.required("Comment is required"),
subject: yup.string().notRequired(),
emailTemplate: yup.string().notRequired(),

View File

@@ -25,7 +25,6 @@ export const conformModalSchema = yup.object().shape({
.string()
.min(2, "Minimum length should be 150 characters.")
.max(150, "Maximum length should be 150 characters.")
.matches(/^[^\d]+$/, "Sponsor Name cannot contain numbers")
.required("Comment is required"),
});

View File

@@ -25,7 +25,6 @@ export const conformModalSchema = yup.object().shape({
.string()
.min(2, "Minimum length should be 150 characters.")
.max(150, "Maximum length should be 150 characters.")
.matches(/^[^\d]+$/, "Sponsor Name cannot contain numbers")
.required("Comment is required"),
});