diff --git a/src/components/customers/AddCustomerDrawer.tsx b/src/components/customers/AddCustomerDrawer.tsx index 3726422ae..b3f3ee326 100644 --- a/src/components/customers/AddCustomerDrawer.tsx +++ b/src/components/customers/AddCustomerDrawer.tsx @@ -312,6 +312,7 @@ export const AddCustomerDrawer = forwardRef((_, ref) => { /> { expect(number).toBe('938884') }) + it('should return a lowercase string for "lowercase" formatter', () => { + const lowercase = formatValue('May the Force be with you', 'lowercase') + const uppercase = formatValue('MY PRECIOUS.', 'lowercase') + const number = formatValue(938884, 'lowercase') + + expect(lowercase).toBe('may the force be with you') + expect(uppercase).toBe('my precious.') + expect(number).toBe('938884') + }) + it('should return the right value for combined formatters', () => { const decimalPositive = formatValue(-13.459484, ['decimal', 'positiveNumber']) const intPositive = formatValue(-11.459484, ['int', 'positiveNumber']) diff --git a/src/components/settings/EditOrganizationInformationsDialog.tsx b/src/components/settings/EditOrganizationInformationsDialog.tsx index 942bf4e94..81194f944 100644 --- a/src/components/settings/EditOrganizationInformationsDialog.tsx +++ b/src/components/settings/EditOrganizationInformationsDialog.tsx @@ -167,6 +167,7 @@ export const EditOrganizationInformationsDialog = forwardRef< ((_, ref) => { {!inviteToken ? ( { diff --git a/src/pages/auth/ForgotPassword.tsx b/src/pages/auth/ForgotPassword.tsx index 97cd30044..217a95a27 100644 --- a/src/pages/auth/ForgotPassword.tsx +++ b/src/pages/auth/ForgotPassword.tsx @@ -90,6 +90,7 @@ const ForgotPassword = () => {
e.preventDefault()}> { { diff --git a/src/pages/auth/SignUp.tsx b/src/pages/auth/SignUp.tsx index 5605cc38c..b579ae151 100644 --- a/src/pages/auth/SignUp.tsx +++ b/src/pages/auth/SignUp.tsx @@ -134,6 +134,7 @@ const SignUp = () => { /> setFormFields((prev) => ({ ...prev, email: value }))} label={translate('text_62a99ba2af7535cefacab4aa')} placeholder={translate('text_62a99ba2af7535cefacab4bf')}