This commit is contained in:
2024-10-17 20:28:21 +05:30
parent 9cd0a4e9c6
commit cd1cf86fc9
3 changed files with 38 additions and 8 deletions

View File

@@ -74,6 +74,7 @@ const Notification = () => {
const {
control,
reset,
watch,
handleSubmit,
formState: { errors },
} = useForm({
@@ -141,6 +142,8 @@ const Notification = () => {
name: "title",
type: "text",
width:"100%",
maxLength:100,
helperText:`Maximum length should be 100 characters. You have entered ${watch()?.title?.length || 0} characters.`,
isRequired: true,
section: "Send Custom Push Notification",
// value: contact?.phoneNumber || "",
@@ -152,6 +155,8 @@ const Notification = () => {
width:"100%",
type: "textarea",
isRequired: true,
maxLength:200,
helperText:`Maximum length should be 200 characters. You have entered ${watch()?.message?.length || 0} characters.`,
section: "Send Custom Push Notification",
// value: contact?.phoneNumber || "",
},

View File

@@ -211,7 +211,7 @@ const ViewIOdetails = () => {
// isRequired: true,
section: " ",
width: "32.3%",
value: IObyID?.data?.isShariah ? "✅ Is This Sharia Compliant" : "❎ Is This Sharia Compliant",
value: IObyID?.data?.isShariah,
},