+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ password_requirements:must_include
+
+
+
+
+ x
+
+
+ password_requirements:at_least_characters
+
+
+
+
+ x
+
+
+ password_requirements:no_blank_spaces
+
+
+
+
+
+
+ sign_up_form:sign_up
+
+
+
+
+`;
diff --git a/src/features/sign-up/validation/SignUpFormSchema.ts b/src/features/sign-up/validation/SignUpFormSchema.ts
index a525fb059..e74dacfd2 100644
--- a/src/features/sign-up/validation/SignUpFormSchema.ts
+++ b/src/features/sign-up/validation/SignUpFormSchema.ts
@@ -9,8 +9,11 @@ const schema = z.object({
password: z
.string()
.min(1, 'form_item:required')
- .min(6, 'sign_up_form:password_at_least_characters')
- .refine(value => !value.includes(' '), 'sign_up_form:password_no_spaces'),
+ .min(6, 'password_requirements:at_least_characters')
+ .refine(
+ value => !value.includes(' '),
+ 'password_requirements:no_blank_spaces',
+ ),
firstName: z.string().trim().min(1, 'form_item:required'),
lastName: z.string().trim().min(1, 'form_item:required'),
});
diff --git a/src/screens/ui/SignUpScreen.tsx b/src/screens/ui/SignUpScreen.tsx
index 872398d71..94b80d22a 100644
--- a/src/screens/ui/SignUpScreen.tsx
+++ b/src/screens/ui/SignUpScreen.tsx
@@ -6,7 +6,13 @@ import { useTranslation } from 'react-i18next';
import { isTablet } from 'react-native-device-info';
import { SignUpForm } from '@features/sign-up';
-import { StatusBar, Box, Text, KeyboardAvoidingView } from '@shared/ui';
+import {
+ StatusBar,
+ Box,
+ Text,
+ KeyboardAvoidingView,
+ ScrollView,
+} from '@shared/ui';
const SignUpScreen: FC = () => {
const { navigate } = useNavigation();
@@ -27,19 +33,27 @@ const SignUpScreen: FC = () => {