diff --git a/src/pages/Promotions/Details/validation.ts b/src/pages/Promotions/Details/validation.ts index 77af134..178b738 100644 --- a/src/pages/Promotions/Details/validation.ts +++ b/src/pages/Promotions/Details/validation.ts @@ -60,7 +60,7 @@ export const promotionSchema = Yup.object().shape({ triggerParameters: Yup.object({ conditions: Yup.object({ all: Yup.array().of(Yup.object({ - value: Yup.number().moreThan(0, "This field must be greater than 0").required("This field is required") + value: Yup.number().min(0, "This field must be greater than or equal to 0").required("This field is required") })) }), inclusionRules: Yup.object({