Remove number validation from Sponsor Name in confirmation and rejection popups
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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"),
|
||||
});
|
||||
|
||||
|
||||
@@ -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"),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user