📜  密码和电子邮件验证 iwth yp - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:50.895000             🧑  作者: Mango

代码示例1
password: Yup.string()
  .required('No password provided.') 
  .min(8, 'Password is too short - should be 8 chars minimum.')
  .matches(/[a-zA-Z]/, 'Password can only contain Latin letters.')