From d5b95b59ea358cda0883d5af1f445a913a6d01f8 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Tue, 29 Oct 2024 15:35:42 -0300 Subject: [PATCH] feat(webpage): add mask to phone field in pressure form --- .../bonde-webpage/plugins/Pressure/components/Form/index.tsx | 1 + .../webpage-client/src/initialI18nStore/locales/pt-br.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/packages/webpage-client/src/bonde-webpage/plugins/Pressure/components/Form/index.tsx b/clients/packages/webpage-client/src/bonde-webpage/plugins/Pressure/components/Form/index.tsx index 38106aefd..9a1ea1abd 100644 --- a/clients/packages/webpage-client/src/bonde-webpage/plugins/Pressure/components/Form/index.tsx +++ b/clients/packages/webpage-client/src/bonde-webpage/plugins/Pressure/components/Form/index.tsx @@ -154,6 +154,7 @@ const PressureForm = ({ label={t('Pressure Phone Label')} name="phone" placeholder={t('Pressure Phone Placeholder')} + mask="+55 (99) 9 9999-9999" /> )} diff --git a/clients/packages/webpage-client/src/initialI18nStore/locales/pt-br.ts b/clients/packages/webpage-client/src/initialI18nStore/locales/pt-br.ts index 454283a6d..e29361dd4 100644 --- a/clients/packages/webpage-client/src/initialI18nStore/locales/pt-br.ts +++ b/clients/packages/webpage-client/src/initialI18nStore/locales/pt-br.ts @@ -22,7 +22,7 @@ export default { "Pressure City Placeholder": "Insira sua cidade", "Pressure State Label": "Estado", "Pressure Phone Label": "Whatsapp", - "Pressure Phone Placeholder": "(DDD) X XXXX-XXXX", + "Pressure Phone Placeholder": "Insira seu nĂºmero com DDD", "Pressure Email Label": "E-mail", "Pressure Email Placeholder": "Insira seu e-mail", "Pressure Subject Label": "Assunto",