notRequired().integer().positive();. But transforming the empty string solves the problem: yup.number().transform((cv, ov) => {
確定! 回上一頁