The validation rules for the all setting needs to be updated to support sku values. At the moment they are set to a number type, but this needs to be a string type.
Current validation rule:
.when(METHOD, {
is: "all",
then: lazy((obj) =>
object({
value: number()
.typeError("Please enter a number")
.required("Please enter a value")
.min(0, "Please enter a value greater than 0"),
})
),
})
The validation rules for the
all
setting needs to be updated to supportsku
values. At the moment they are set to a number type, but this needs to be a string type.Current validation rule: