Merge branch 'sprint10/reversal' of http://git.wdipl.com/Siddhesh.More/tanami-admin-panel into sprint10/reversal
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user