error message
This commit is contained in:
@@ -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(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user