let schema = yup.object().shape({. 2. foo: yup.number().typeError("Custom not a number message!") 3. }); yup min validation with error message.
確定! 回上一頁