yup seulement les caractères regex validation réagir

yup.string()
   .required("Please enter the required field")
   .matches(/^[aA-zZ\s]+$/, "Only alphabets are allowed for this field ")
Jash_World