diff --git a/src/components/Main/Subject/Contato/schema/FormSchema.ts b/src/components/Main/Subject/Contato/schema/FormSchema.ts index 113b247..6b91be0 100644 --- a/src/components/Main/Subject/Contato/schema/FormSchema.ts +++ b/src/components/Main/Subject/Contato/schema/FormSchema.ts @@ -10,9 +10,9 @@ const FormSchema = () => .min(14, "mínimo 14 caracteres") .required("*Campo Obrigatório"), data: Yup.date() - .min("01/01/1900") + .min("01.01.1900", "data mínima 01.01.1900") .max(new Date()) - .required("Campo obrigatório"), + .required("*Campo obrigatório"), tel: Yup.string().length(15).required("*Campo Obrigatório"), instagram: Yup.string(), acceptTerms: Yup.bool().oneOf([true], "*"),