Merge branch 'sprint10/reversal' of http://git.wdipl.com/Siddhesh.More/tanami-admin-panel into sprint10/reversal

This commit is contained in:
YasinShaikh123
2025-01-20 15:06:33 +05:30
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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