📜  yup.array 不工作 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:07.505000             🧑  作者: Mango

代码示例1
//Empty arrays are considered truthy that's why we cannot use array().required()
const validationSchema = Yup.object().shape({
  stringArray: Yup.array().min(1, messageHere);
});