update
This commit is contained in:
@@ -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 || "",
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user