error message

This commit is contained in:
YasinShaikh123
2024-08-26 12:32:45 +05:30
parent 6d315ba2ef
commit 026a563d84

View File

@@ -25,7 +25,7 @@ export const addInvestmentType = yup.object().shape({
note: yup.string()
.optional()
.max(255, 'Note cannot exceed 255 characters'),
investmentTypeNameArabic: yup.string().required("Investment type in arabic required"),
investmentTypeNameArabic: yup.string().required("Investment type in required"),
noteArabic: yup.string().notRequired(),
});